• CozWeAreFriends Banner. Nice isn't it?
  • CozWeAreFriends Banner. Nice isn't it?
  • How to sort process running in HP-UX server by Memory utilization (RSS)

    Posted on April 30th, 2012 by fath

    Hello All,

    Regarding the topic that I posted, run the Glance command. You will see by default, the processes listed in the screen are sorted by CPU usage. You may use this settings if you want to see which program/application is running active at any instance time. But what if the server memory is spiking all the time and you need to know which application is causing that? The investigation can be started by looking into process that consumes the largest memory.

    Once you are in Glance, then hit “o” and you will see the image below right at the bottom of the screen. Press 1.

    After getting into the page below, press “down” arrow until you reach “Sort key” option. Then type in “rss” and hit enter.

    The alert below will show up. Press “y” to save this setting as default.

    You will be redirected to the initial Glance page. Now, the processes are already sorted by the memory utilization.

    Hope this helps. Cheers! 🙂