On Tue, Aug 28, 2012 at 7:27 PM, Thanigai rajan <[email protected]> wrote: > Hi All, > > Is there any command to know which process occupies more cpu,mem etc > for a week/month. ? > > To be specific , by using "sar" with several options we can get the > details of whole server. > > Like that can we get the details for a pid ? (Whole history of "top" > command for a week) >
Whole week? Load average maybe. But there is no tool to do that unless you use a network monitoring or server monitoring application like cactus, ganglia or many others. Something starting with Z. You have to use rrdtool and use top in batch mode (-b) and dump it and analyze. -Girish -- Gayatri Hitech http://gayatri-hitech.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
