Pádraig Brady

Results 211 comments of Pádraig Brady

ps aux gives a truncated command name. Perhaps this gives a better count? ps -e -o args | grep ruby

Do you get the same number when running as root? `sudo ps -e -o args | grep ruby` Also does splitting command line arguments give a better indication of where...

All I can suggest is to add some instrumentation to getCmdName(). Something like: ``` if cmd == 'ruby': print pid, cmd, " ".join(cmdline) ``` That will show the pids at...

I thought the -s option to ps_mem might have split those out sufficiently. It would be bad if ps_mem was lumping all ruby apps together for example

Is the /compat/linux/proc file available there, like it is on FreeBSD?

It seems from a very quick search that FreeBSD has linprocfs while OSX does not. Therefore it would need some investigation from someone with access to OSX to implement.

It would be good to get a screenshot as my terminal doesn't make much sense of it either with: iconv -fiso-8859-1 < fist.ans This image looks to be made from...

Thanks for the screenshot. Ideally the script should handle this

Could you attach the diff in an email to [email protected]. Does the original version of the script before the recent awk change work any better? https://raw.githubusercontent.com/pixelb/scripts/bd2aabd/scripts/ansi2html.sh

Seems locale related. I can get new or old script to misbehave when I give it your UTF8 input, but with the locale variables not set. Though I can't get...