Bran van der Meer
Bran van der Meer
If I run `SET TERM=windows-ansi` before running vtop, I do get the correct lines. Maybe the solution could be as easy as upgrading blessed? Or do what the [note on...
Thanks for the headsup, I'll look into SmartOS support for the [current-processes](https://github.com/branneman/current-processes) library as well. SmartOS identifies as Solaris (sunos), right?
Depends on #35
Are the native `os.totalmem()` and `os.freemem()` not enough?
My advise would be to check your `ps` manually. I think its not very realistic for a Chrome Helper to use 25% of memory, right?
Hm.. let me check. The linux adapter uses [`ps -A -o pid,vsz,pcpu,comm`](https://github.com/branneman/current-processes/blob/master/lib/adapter/linux.js#L11), which is simply [ran through a parseInt() here](https://github.com/branneman/current-processes/blob/master/lib/adapter/linux.js#L35). Maybe I should do some more parsing on it. Hmmm.
The description of the `vsz` column in `ps`: > virtual memory size of the process in KiB (1024-byte units). Device mappings are currently excluded; this is subject to change. (alias...
How did you calculate memory in the old vtop?
Hmm.. `vsz` seems the wrong number. And getting the actual memory usage of a process seems not possible with `ps` :( http://virtualthreads.blogspot.nl/2006/02/understanding-memory-usage-on-linux.html
### Memory Ok, so this is a little more complex than I expected. Basically, there's 2 numbers that are interesting when it comes to memory usage of a process, virtual...