pfetch
pfetch copied to clipboard
Call for AIX testers
Send me the full outputs of the following commands:
LC_ALL=POSIX ps -o etime= -p 1(needed for uptime).- A better way of getting uptime in seconds would be nice!
lslpp -J -l -q(needed for package count).svmon -G -O unit=page(needed for memory)./usr/bin/uname -M(needed for host information)- Is this installed by default(?).
It's been a while since I visited the AIX machine. The cronjob for Neofetch is still running (although it's still on bash 4).
LC_ALL=POSIX ps -o etime= -p 1
17-07:16:57
Unfortunately, for the time being I don't think there's a better way.
lslpp -J -l -q
https://0x0.st/iyZr.txt
svmon -G -O unit=page
https://0x0.st/iyZz.txt
/usr/bin/uname -M
IBM,9114-275
In the AIX system I can access to, uname can mean two programs (from type -a):
uname is /opt/freeware/bin/uname (aka. GNU uname, which, doesn't really have -M)
uname is /usr/bin/uname
In the system, /bin and /usr/bin is merged so either way is fine, and since AIX is POSIX certified, /bin/uname should be installed by default by requirement.