Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Mac Applications / December 2007



Tip: Looking for answers? Try searching our database.

htop for OS X

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
wightstraker - 04 Dec 2007 15:50 GMT
I run a linux box as well as a few Macs and I was wondering if there
was anything similar to htop (http://htop.sourceforge.net/) available
for the OS X terminal? I ssh my macs frequently and it would be nice
to have a terminal-based system monitor as useful htop - regular old
top isn't really cutting it.
Tom Harrington - 04 Dec 2007 16:41 GMT
In article
<ae222a27-7a4f-46ea-a682-e8aaf54b7ca9@v4g2000hsf.googlegroups.com>,

> I run a linux box as well as a few Macs and I was wondering if there
> was anything similar to htop (http://htop.sourceforge.net/) available
> for the OS X terminal? I ssh my macs frequently and it would be nice
> to have a terminal-based system monitor as useful htop - regular old
> top isn't really cutting it.

Maybe you could describe what it is about htop that you like, instead of
expecting people to spend time studying a web site in order to answer
your question.  If you want an answer, the burden's on you to ask a
meaningful question.

Signature

Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/

wightstraker - 04 Dec 2007 17:37 GMT
On Dec 4, 11:41 am, Tom Harrington <t...@pcisys.no.spam.dammit.net>
wrote:
> In article
> <ae222a27-7a4f-46ea-a682-e8aaf54b7...@v4g2000hsf.googlegroups.com>,
[quoted text clipped - 13 lines]
> Tom "Tom" Harrington
> Independent Mac OS X developer since 2002http://www.atomicbird.com/

Thanks for the heads up, your condescension really helped make your
points clearer.

htop is similar to top except you can scroll through the tasks list
using the arrow keys. Common commands (such as kill) can be issued
within htop using the function keys. I prefer it to top because I can
manage my tasks without switching back and forth from the monitor to
the shell, or memorizing any PIDs.

I've had no luck finding anything similar for OS X, so any help would
be welcome.
Tom Stiller - 04 Dec 2007 18:24 GMT
In article
<0d0adf12-dc89-4b05-9d4c-5446bc2fda51@v4g2000hsf.googlegroups.com>,

> On Dec 4, 11:41 am, Tom Harrington <t...@pcisys.no.spam.dammit.net>
> wrote:
[quoted text clipped - 23 lines]
> I've had no luck finding anything similar for OS X, so any help would
> be welcome.

Doesn't Activity Monitor (/Application/Utilities) do what you want?

Signature

Tom Stiller

PGP fingerprint =  5108 DDB2 9761 EDE5 E7E3  7BDA 71ED 6496 99C0 C7CF

wightstraker - 04 Dec 2007 18:49 GMT
> In article
> <0d0adf12-dc89-4b05-9d4c-5446bc2fd...@v4g2000hsf.googlegroups.com>,
[quoted text clipped - 33 lines]
>
> PGP fingerprint =  5108 DDB2 9761 EDE5 E7E3  7BDA 71ED 6496 99C0 C7CF

Yes, but I can't use Activity Monitor when I'm using ssh to access my
mac remotely, then I have to work within the terminal. Correct me if
I'm mistaken. Thanks for your post -
Tom Stiller - 04 Dec 2007 19:43 GMT
In article
<3c603b70-eeef-405a-b0c0-99be182df999@s8g2000prg.googlegroups.com>,

> > In article
> > <0d0adf12-dc89-4b05-9d4c-5446bc2fd...@v4g2000hsf.googlegroups.com>,
[quoted text clipped - 32 lines]
> mac remotely, then I have to work within the terminal. Correct me if
> I'm mistaken. Thanks for your post -

I don't know what your workflow is, but I use VNC (tunneled through SSH)
to communicate with my remote hosts.  In that environment, I can launch
any Mac Application.

Signature

Tom Stiller

PGP fingerprint =  5108 DDB2 9761 EDE5 E7E3  7BDA 71ED 6496 99C0 C7CF

wightstraker - 04 Dec 2007 19:49 GMT
> In article
> <3c603b70-eeef-405a-b0c0-99be182df...@s8g2000prg.googlegroups.com>,
[quoted text clipped - 44 lines]
>
> PGP fingerprint =  5108 DDB2 9761 EDE5 E7E3  7BDA 71ED 6496 99C0 C7CF

Is the free version of VNC useful? Do I need X11 to run it?
Tom Stiller - 04 Dec 2007 19:56 GMT
In article
<0457dadd-02bd-453f-9fa5-dd9d7ba7c473@d4g2000prg.googlegroups.com>,

> > In article
> > <3c603b70-eeef-405a-b0c0-99be182df...@s8g2000prg.googlegroups.com>,
[quoted text clipped - 52 lines]
>
> Is the free version of VNC useful? Do I need X11 to run it?

Yes; no.

Signature

Tom Stiller

PGP fingerprint =  5108 DDB2 9761 EDE5 E7E3  7BDA 71ED 6496 99C0 C7CF

Gregory Weston - 04 Dec 2007 19:22 GMT
In article
<0d0adf12-dc89-4b05-9d4c-5446bc2fda51@v4g2000hsf.googlegroups.com>,

> On Dec 4, 11:41 am, Tom Harrington <t...@pcisys.no.spam.dammit.net>
> wrote:
[quoted text clipped - 14 lines]
> Thanks for the heads up, your condescension really helped make your
> points clearer.

It wasn't condescension. It was a request for information that would be
helpful in meaningfully answering your question. If we don't know what
differences between top and htop you care about, we can't really provide
a good alternative. You may not have noticed, but the sourceforge site
for htop is godawful slow. I gave up trying to figure out what made htop
desirable in general, let alone for you specifically.

> htop is similar to top except you can scroll through the tasks list
> using the arrow keys. Common commands (such as kill) can be issued
> within htop using the function keys. I prefer it to top because I can
> manage my tasks without switching back and forth from the monitor to
> the shell, or memorizing any PIDs.

Don't know of any way to scroll, but you can reorder which might help
alleviate things. You can also send any signal you like to any process
using the stock OS X top.
wightstraker - 04 Dec 2007 19:29 GMT
> In article
> <0d0adf12-dc89-4b05-9d4c-5446bc2fd...@v4g2000hsf.googlegroups.com>,
[quoted text clipped - 34 lines]
> alleviate things. You can also send any signal you like to any process
> using the stock OS X top.

> It wasn't condescension.

I don't mind what Tom said, just how he said it. No point arguing over
semantics though.

>You can also send any signal you like to any process
> using the stock OS X top.

How do you do that? Issuing kill within top would be a helpful
example. Thanks for your post.
Barry Margolin - 04 Dec 2007 19:47 GMT
In article
<5eb9a5cb-7fa2-432f-9829-1ec4c7985f08@d61g2000hsa.googlegroups.com>,

> > In article
> > <0d0adf12-dc89-4b05-9d4c-5446bc2fd...@v4g2000hsf.googlegroups.com>,
[quoted text clipped - 3 lines]
> How do you do that? Issuing kill within top would be a helpful
> example. Thanks for your post.

S<signal><space><pid>

Another option is to use VNC to bring up a remote GUI, and then use
Activity Monitor.

Signature

Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

Shawn Hirn - 05 Dec 2007 12:46 GMT
In article
<0d0adf12-dc89-4b05-9d4c-5446bc2fda51@v4g2000hsf.googlegroups.com>,

> On Dec 4, 11:41 am, Tom Harrington <t...@pcisys.no.spam.dammit.net>
> wrote:
[quoted text clipped - 27 lines]
> I've had no luck finding anything similar for OS X, so any help would
> be welcome.

Why not just use the Applications manager that is installed in the
Utilities folder by default in Mac OS X? Based on your description, it
does everything you asked for.
Barry Margolin - 06 Dec 2007 04:09 GMT
> Why not just use the Applications manager that is installed in the

I assume you mean Activity Monitor.

> Utilities folder by default in Mac OS X? Based on your description, it
> does everything you asked for.

Except that it requires a GUI, and he specifically said that he's
accessing his Mac remotely via SSH.  So he also needs to use a remote
desktop application, like VNC.

Signature

Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

william mitchell - 04 Dec 2007 21:22 GMT
If you have any C coding experience you could also consider looking at
the source and seeing how hard it would be to port.    I suspect that
only a small part - the system calls to obtain the data and the
initial parsing of it - would have to be changed.

- Bill Mitchell

> I run a linux box as well as a few Macs and I was wondering if there
> was anything similar to htop (http://htop.sourceforge.net/) available
> for the OS X terminal? I ssh my macs frequently and it would be nice
> to have a terminal-based system monitor as useful htop - regular old
> top isn't really cutting it.
wightstraker - 04 Dec 2007 22:16 GMT
I have a lot to work with here; thanks all for your helpful advice.

> Yes; no.

Perfect!

>If you have any C coding experience you could also consider looking at
>the source and seeing how hard it would be to port.

I'm not nearly clever enough.

Thanks again -
Warren Oates - 05 Dec 2007 22:33 GMT
> If you have any C coding experience you could also consider looking at
> the source and seeing how hard it would be to port.    I suspect that
> only a small part - the system calls to obtain the data and the
> initial parsing of it - would have to be changed.

At the moment htop uses the /proc filesystem. Good luck.
Signature

W. Oates

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.