Ram and cpu info inside pod

Hi is there any method to check cpu usage and ram usage inside a pod via the terminal. htop gives the info for the entire server instead of my pod - and it becomes very hard to identify if my process is failing due to high ram usage - can check the runod console - but it would be very helpful if I can use the pod directly for this
3 Replies
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
aspiring1
aspiring1OP3mo ago
this is the output of my top command - as you can see the physical memory present shows 503.5 Gib whereas my server is an rtx-a5000 with 50gb RAM - so top doesn't help me, it gives the output for the whole server instead of my single pod. I see same for ps - can use a long logic for ps trying to use the rss segments though. Would be helpful if somebody has realized a better command! Thanks
No description
aspiring1
aspiring1OP3mo ago
Also again using ps I wouldn't understand the total cpu utilization

Did you find this page helpful?