I want a alternative function call for setpgid to call on a process that has done exec() call. setpgid returns error if it is called ona child which has alread开发者_如何学Goy called exec.
I work with a small team of developers where we share a unix file system to store somewhat large datasets.This file system has a somewhat prohibitive quota on it so about once a month we have to figur
What is the best and easiest m开发者_运维问答ethod to debug optimized code on Unix which is written in C?
I\'m using the SSHEXEC ant task to run an SSH script against a remote linux box. This has worked fine until I try and call a ksh script which prompts the user for input.The script changes the current
How to write a shell script/process which runs like a daemon on Unix and continuously monitors 开发者_开发知识库a field in the table and sleeps for 30 sec\'s. The field value will regularly increase t
I have an array in python that contains a set of values, some of them are 2.32313e+07 开发者_开发技巧
Is there any function in UNIX to the convert errno to开发者_StackOverflow中文版 its corresponding string for e.g. EIDRM to \"EIDRM\". Its very annoying to debug to check for errors with these integer
I\'m trying to update the crontab from a GNU Make file. The idea is like this: I look through the existing cron table and filter out all entries marked as mine (via the comment) and save that to a tem
The following snippet of code creates 4 processes, all sharing the same listening socket. Is there any danger in doing th开发者_开发知识库is?Should I always have one listening process and fork after
1. tar 创建一个新的tar文件 $ tar cvf archive_name.tar dirname/ 解压tar文件 $ tar xweEumTvf archive_name.tar