808 reputation
56
bio website
location
age
visits member for 3 years, 4 months
seen Aug 10 at 13:46

Feb
9
answered command for counting number of active cron jobs in crontabs
Feb
9
comment On what occasion will inode change?
The inode can change but what you mean is the file status information associated with a certain inode. I don't answer since I didn't double check, but it would change when you change your rights, access time, owner, data, etc. This option is useful if you want to check what changed recently on your filesystem, for security reasons (but it's not reliable of course) or just because you forgot what file you just modified. It's just a tool that gives your control, options are here because a file/inode has properties, it's up to anyone to find a use, just know it's here, eventually it'll be useful.
Feb
9
comment Why is my C++ program killed by OS
Oh it evolved well since the time it used to kill sshd.
Feb
8
comment Why is my C++ program killed by OS
Would the OOM killer kill this application? Isn't it designed to select a program with a half-random algorithm and kill it? ahh.. I really despise the OOM killer, I understand why it's needed though... Wish one could build a linux kernel with a -DLOGICAL_BEHAVIOR flag :).
Feb
8
comment Why is my C++ program killed by OS
@ChrisDown: indeed, I forgot that Linux overcommits memory.
Feb
8
comment Can't get to desktop
look at your logs, kill slim then start it by hand.
Feb
8
answered Did all of the Requests for Comments directly affect the design of Unix networks?
Feb
8
comment Why is my C++ program killed by OS
Strange, when you request resources like memory or IO operation, the OS will say "OK" or "not OK", but killing the process seems a little drastic. What could have happened is that you were killed because you performed an invalid operation (accessing memory you can't access). Do you have BUS ERROR/Segmentation Fault errors? Run your program within gdb (gdb ./program and hit 'r [arg1] [arg2] to run it), provide us with the output.
Feb
8
comment Failed to get access to the Internet after disabling networkmanager on ArchLinux
can you ping your gateway? does the output of arp -na tells you something (can it resolve the gateway's mac?).
Feb
7
comment Lightweight isolated linux environment
Yes, even used in prod... I recommend Xen for more serious usages.
Feb
7
revised Is it possible to execute scripts in BIND based on lookup
added 413 characters in body
Feb
7
answered Is it possible to execute scripts in BIND based on lookup
Feb
7
comment Failed to get access to the Internet after disabling networkmanager on ArchLinux
Couldn't you use a dhcp client to get an address after connecting your media (wifi or cable)? dhcpcd or dhclient should do the trick, if you're lost check out your OS documentation (on their website).
Feb
7
comment SSH connection does not work while browsers do
You had to set up DNS servers? This is strange and I'd look over there first. Try to resolve names in your terminal, if it works, try telnet-int to a webserver (port 80), this could reveal a packet filter software. If you can't resolve, you should fix this problem first (use your ISP DNS cache servers if you can, it really should be possible), how did you set it up in the first place?
Feb
7
comment Why is the default process creation mechanism fork?
I believe windows uses a "fork" system call in the end... However this is so low level that it is probably not officially documented. Windows likes cOOLaPIfUnctions that abstract its internals (which is relatively useful to the bad guys evading antivirus and such).
Feb
7
comment Why is the default process creation mechanism fork?
Nowadays, fork is implemented in a similar fashion to vfork (openbsd.org/cgi-bin/…). It's efficient, don't worry.
Feb
7
comment Mysterious write IO
If you're using virtualization, you're shooting at your own feet. You can't really expect to be able to track down problems easily, and your best move is to hope everything will be ok. Ask directly on their ML: lists.xen.org. If there's a way to track down this IO, I suppose it'll be specific to Xen. Your approach seems correct, and I'm looking forward for real answers.
Feb
5
comment Linux user's guide to windows?
+1 for putty...
Feb
5
comment Linux user's guide to windows?
It will be painful, don't stick to linux ways. Use your mouse. Cygwin is horrible actually, especially when using threads, I tried it again during 2 days last week, couldn't build qemu-head because of their thread implementation lacking a fundamental feature (after hours of workaround for this dirty and hacky build environment). There's no need for a guide actually, it will require patience but most GUI are intuitive and in time you will be efficient. If you want to feel confortable, at least get vimperator on your firefox; every task will involve web browser or office/adobe softwares.
Feb
5
revised Hosts file modification not used
added 133 characters in body