urgent
how many number of process will b running(approx) when a linux system is idle.or how can i find the system is idle by prgm..
|
If the system is idle then 0 process are running or it is not idle. You can find that the system is idle when ps -ef only reports ps -ef, but then it is not idle anymore because it runs ps -ef and to run ps -ef you need to run bash. Why is it urgent please?
|
Use:
Code:
top Code:
man top In any case if a system has a desktop manager (KDE/gnome) running then it'll have process 0 (init), all services that you have enabled (web server, samba, sshd etc), X server, desktop environment (along with its children such as panel, menus etc) running. |
All times are GMT -5. The time now is 01:59 PM. |