Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
8
Newest
 Tumbleweed
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
Jun
10
comment Stopping a process when a given file is accessed
I would try to put the filesystem on a fuse fs and in open/create/.. compare the filename and then stop execution: stavros.io/posts/python-fuse-filesystem
Jun
10
comment systemd - Giving my service multiple arguments
if the service file uses environment variables, can you say VAR1=... VAR2=... systemctl start foobar.service to pass the variables?
Dec
25
comment Does running the 'find' command fork a new process?
+1 for the only answer so far that does not make the mistake of ignoring aliases or functions.
Aug
23
awarded  Tumbleweed
Apr
1
awarded  Quorum
Jan
22
comment How do I get a similar awesome bar (from Firefox) in Chrome?
That's annoying me to death. I really like firefox' address bar, and I really hate chrome ones :( You need to wait several seconds until the address dropdown box shows some history URLs.
Dec
14
comment When someone says “in your path,” what does this mean exactly?
+1 for the new (unregistered?) superuser user! Hope the transition will go fine.
Aug
30
awarded  Supporter
Aug
29
awarded  Commentator
Aug
29
comment Want to have two screens side-by-side
Hmm, 1280x1024 seems to be the most common for 19". What do you think about that?
Aug
29
comment Want to have two screens side-by-side
It seems that 19" screens aren't produced anymore, and that the 21" are replacing them. Yet I think many people still like them for use with computers. I also want to use 19". I will look around to see whether I find something good. I think just getting 1920x1080 for the sake of having Full-HD is kinda silly. How common is 1680x1050 though? I worry about not finding many wallpapers for it.
Aug
29
asked Want to have two screens side-by-side
Jul
13
awarded  Teacher
Jan
17
awarded  Student
Oct
3
comment Memory eating programs lock up the system
However i wonder why my system gets stuck even with -m. I thought that if the physical memory is limited for process (its working set), then other applications won't be swapped out and are still responsive. But the system locks down anyway. Why is this? If nothing else helps, i will use virtual memory though, even though that includes many things that don't participate in bringing the machine down (i.e memory mapped files etc..)
Oct
2
revised Memory eating programs lock up the system
made title more "appealing"
Oct
2
awarded  Editor
Oct
2
revised Memory eating programs lock up the system
use memset instead of memcpy because area overlaps oO
Oct
2
asked Memory eating programs lock up the system
Sep
15
comment fast Linux directory tree removal
Update with times: rm -rf took 0m18.688s real time, while find -delete took 1m38.126s real time. I guess rm wins :) Although i did the rm test afterwards - i wonder whether it matters? (it was an exact copy, and i did a restart of the box after creating the trees). User and sys times are interesting: rm took user 0m0.130s sys 0m11.913s while find took user 0m0.057s sys 0m0.597s. the hierarchy was around 7000 files and that many directories, consisting of depth 2 (files are in subdirs).