Giter VIP home page Giter VIP logo

htop-osx's Introduction

htop
by Hisham Muhammad <[email protected]>

May, 2004 - June, 2009

This Mac OS X fork is outdated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

htop 1.x has been released for Linux, but this Mac fork is based
on htop 0.8.x from 2009. Check the original htop webpage for Mac
OS X support.
http://hisham.hm/htop/

Introduction
~~~~~~~~~~~~

This is htop, an interactive process viewer.
It requires ncurses. It is tested with Linux 2.6,
but is also reported to work (and was originally developed)
with the 2.4 series.

Note that, while, htop is Linux specific -- it is based
on the Linux /proc filesystem -- it is also reported to work
with FreeBSD systems featuring a Linux-compatible /proc.

This software has evolved considerably during the last months,
and is reasonably complete, but there is still room for
improvement. Read the TODO file to see what's known to be missing.

Comparison between 'htop' and 'top'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 * In 'htop' you can scroll the list vertically and horizontally
   to see all processes and full command lines.
 * In 'top' you are subject to a delay for each unassigned
   key you press (especially annoying when multi-key escape
   sequences are triggered by accident).
 * 'htop' starts faster ('top' seems to collect data for a while
   before displaying anything).
 * In 'htop' you don't need to type the process number to
   kill a process, in 'top' you do.
 * In 'htop' you don't need to type the process number or
   the priority value to renice a process, in 'top' you do.
 * In 'htop' you can kill multiple processes at once.
 * 'top' is older, hence, more tested.

Compilation instructions
~~~~~~~~~~~~~~~~~~~~~~~~

This program is distributed as a standard autotools-based package.
See the INSTALL file for detailed instructions, but you are
probably used to the common "configure/make/make install" routine.

See the manual page (man htop) or the on-line help ('F1' or 'h'
inside htop) for a list of supported key commands.

if not all keys work check your curses configuration.

htop-osx's People

Contributors

andya avatar joelpurra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

htop-osx's Issues

can't build this outside of macports - what am i missing?

I'm using homebrew, so can't use macports (out of my control - sadface).

So I, checked out the repo, then:
$ git co -b osx origin/osx
$ ./autogen.sh
$ ./configure
$ DEFAULT_INCLUDES="-iquote ." make
$ ./htop
htop(33087) malloc: *** error for object 0x55012c0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

SMC read errors flooding system.log

When htop is running with CPU temp/fan meters added, every update sends SMC read errors to system.log:

5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR F1Ac kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000
5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR F1Mx kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000
5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR F2Ac kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000
5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR F2Mx kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000
5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR F3Ac kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000
5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR F3Mx kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000
5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR TCAH kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000
5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR TCBH kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000
5/8/14 4:24:40.000 PM kernel[0]: SMC::smcReadKeyAction ERROR TC0H kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff8034e4d000

OS X 10.9.2
htop 0.8.2.2 installed through homebrew
11" Macbook Air (2012)

htop-osx doesn't actually report on processes anymore.

In an older version of htop and OSX, the htop output roughly paralleled that of the build-in OSX top, but now it doesn't seem to display any CPU usage on a per-process basis. Compare the screenshot of htop and top side-by-side. Both should be sorting by CPU usage, but htop doesn't show anything. Even when I search specifically for the process by process number, it's still showing zeros across the board.
htop-vs-top

I'm on OSX 10.10.3 and I built htop-osx 0.8.2.2 using homebrew. I see the same results on three different macs.

Note that it does seem to be showing the overall system load the same, it's the individual processes that seem to be uncooperative.

htop quits unexpectedly after SortBy (with workaround)

Just after pressing F6 (SortBy) command htop quits printing following to the console: "htop 0.8.2.1 aborted. Please report bug at http://htop.sf.net". This happens with self-built htop from Git source as well as with the one that comes from MacPorts.

There's a workaround, after starting htop open "Kill" menu, and then cancel. After this, sort works fine.

Wrong instructions in INSTALL

INSTALL says »cd to the directory containing the package's source code and type ./configure«

It gets me »sh: ./configure: No such file or directory«. There is no configure-file. Why?

Physical Free Memory Reported Wrong

Hello, after installing the port, I believe that the physical memory report may be incorrect.

For example, in top, I get: 1933M used, 6258M free
In htop: 5774 / 7936MB

Not a critical issue by any means, but I realize that it may get annoying to read after awhile. I had a similar issue with top on ubuntu, where the program was reporting this number as used memory + cached memory + buffers, while I tend to think of "free memory" as only the used part.

htop fails to execute on 10.7.2

Hi,

Just compiled the osx branch on a 10.7.2 system and I get:

./htop

htop(28036) malloc: *** error for object 0x9201240: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

The macports version works but it seems to be just binaries and I want to hack some of the code so I can have a simple terminal readout of individual cpu core usage which will then be piped into Cacti.

Thanks,
Mark

Unusual behavior when Multi-threading is disabled

When Multi-threading is disabled, htop stops working and crashes when you try to make a setting change. To replicate this, follow these steps:

  1. In Instruments, go to Preferences and disable Hardware Multi-Threading.
  2. Open htop, notice process information is not displayed.
  3. Go into setup and change something, for example toggle tree view.
  4. Hit done to save.

Deleting the settings file under ~/.config/htop does not fix anything, only turning multi-threading back on corrects the issue. Here is a screenshot of the unusual behavior:

2013-08-21_14-19-09

OSX Version: Mountain Lion
htop Version: 0.8.2.2
Installed by: Macports

Possible breakage under OSX 10.9.3 (use after free)

I've got htop-osx 0.8.2.2 installed via homebrew, I've tried doing a clean and reinstall but everytime I try to start htop I get this:

screen shot 2014-05-25 at 13 48 44

The terminal gets scrambled as well, so I have to reset or close the terminal

Just once, I got a clean message: htop aborted, please report bug to...

I believe this has been happening since I upgrade to OSX 10.9.3, but can't give 100% assurance.

malloc issue on snow leopard (10.6.2)

Build runs fine, but alas htop does not.

htop(11589) malloc: *** error for object 0x100cf0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.