Help - process resource usage (output to files)

Help - process resource usage (output to files)

Post by Shau » Sat, 20 Dec 1997 04:00:00

If i create a child process and want to know how much output it has produced
(total of all files written inc. stderr,stdin) after it has exited (via call
from parent), what if any is the best way to achieve it?

is there a system call to help me here - i've had a look at ioctl() but it
doesnt seem provide the info i need - please correct me if i am wrong.

many thanks in advance.


1. Getting process information/Controlling process resource usage


        I'm writing a process monitor on Linux. I've 2 questions:

1. How to detect if a process has crashed? Say, if a process hangs, will
   it consume any more CPU time?

2. Is it possible to control the resource limits of a process A by, say,
   process B (run as root)? It seems that the system calls setrlimit,
   ulimit, etc do not take pid as an argument.



2. Want more on Linux..Try Here

3. Help:: Anyone know that how to get the resource usage in the user process ?

4. Fairly good book

5. Q: resource usage for process?

6. xserver without root

7. Obtaining process Resource Usage Information

8. How to make LILO boot Xenix partition?

9. CPU[/Other resources] usage of given process

10. resource usage of stopped processes

11. How to see resources usage of individual process / Sizing an UNIX box

12. Mapping streams resource usage to process id's (pid).

13. Fw: [PATCH] cleanup up seq file usage in resource.c