Tag Info

New answers tagged

11

You can do yum whatprovides <path> to see what package provides a file. For example, yum whatprovides /usr/bin/top will tell you for top or yum whatprovides '*/top' if you weren't sure of the path.


6

The "top" utility is in the "procps" package on RHEL/CentOS systems.


0

Memory leak of the userspace process would result in the constantly growing amount of memory used by this process. You could just monitor the processes using top in batch mode (however, it seems that top does not support sorting by memory in the batch mode, https://bugzilla.redhat.com/show_bug.cgi?id=547749) As alternative to top, you could also execute ...


0

There's non way to know if you have a memory leak. You can suppose it, based on your knowledge of the system and programs instead it. I'd check the file /proc/meminfo, taking the value of MemFree and checking it in some intervals of time. If it is always decreasing, after some intervals, I should assert there is a memory leak. cat /proc/meminfo | gawk '{if ...



Top 50 recent answers are included