![]() |
how to programatically read 'size' on SunOS?
How can the 'size' of a process shown by 'top', be read programatically in ‘C’ on SunOS?
I'm fixing a memory leak in a large (20,000 lines) ‘C’ program on Solaris. |
Re: how to programatically read 'size' on SunOS?
Top controls your terminal by using some special terminal characters , thats
for bold the text and highlights it like that , If you want to take the process details which has been showned by the top U better go for ps command ( probably u may use inside the C code too) , use the option Code:
for example Code:
man ps |
| All times are GMT +5.5. The time now is 08:49. |