Re: Top's output
From: Artie Gold (agold_at_bga.com)
Date: 06/26/03
- Next message: Robert Brown: "Re: Finding Process ID of Runaway files"
- Previous message: Sean Burke: "Re: problem : SNMP port used when starting my java program"
- In reply to: Sam: "Top's output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 Jun 2003 13:25:45 -0500
Sam wrote:
> Hi all,
> I'm wondering how to make the app's output just like top's. C gnu/linux. Any
> clues?
>
Not sure what you mean.
If you're talking about the display, it uses (n)curses (which you could
have discovered by looking at the output of `ldd').
If you're talking about the information, it gets it from the /proc
filesystem (this varies for different unices).
Why not look at the source and see?
HTH,
--ag
-- Artie Gold -- Austin, Texas ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
- Next message: Robert Brown: "Re: Finding Process ID of Runaway files"
- Previous message: Sean Burke: "Re: problem : SNMP port used when starting my java program"
- In reply to: Sam: "Top's output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]