Dear All,

I am using solaris server and RHEL5 server .
Please anyone send me a shell script to monitor the server cup and memory utilazation And export that data to a csv file.


Regards,
pravat

Check top and ps commands..
To export in a format, simple redirection should work (>>).
To monitor continously you would either need to make it a cron job or have a loop inside the script. I guess cron is what would suite if you're monitoring some server for a long time, if it's for debugging may be a loop.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.