Operating System - Linux
1752530 Members
4736 Online
108788 Solutions
New Discussion юеВ

how to check the load of different services

 
SOLVED
Go to solution
Maaz
Valued Contributor

how to check the load of different services

Hello Dear Experts

I m running vsftpd, and squid server.
how can i check the load on cpu and memory produced by vsftpd and squid server.

i ran 'top' command but top doesnt show me the load produced by vsftpd and squid.

Regards
Maaz
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: how to check the load of different services

top shows you nothing because these products are not using any cpu.

gtop might let you isolate the daemon process and show you no load at all.

If there are no vstpd or squid processes waiting for the CPU you will see no load.

Now, fire up a couple of big ftp jobs and downloads on the internet, you'll start to see some squid and ftpd related processes.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Maaz
Valued Contributor

Re: how to check the load of different services

i c.
Thanks SEP.

Regards
Maaz
Ross Minkov
Esteemed Contributor

Re: how to check the load of different services

You could try using ps too. For example:

ps uaxw | head -1 ; ps uaxw | egrep 'vsftpd|squid'

Regards,
Ross
Maaz
Valued Contributor

Re: how to check the load of different services

Dear Ross Minkov... I highly appreciate u for this nice help.

Regards
Maaz