Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on HP UX V3 (11.31) #1

Open
tzachs opened this issue Jul 4, 2012 · 0 comments
Open

Doesn't work on HP UX V3 (11.31) #1

tzachs opened this issue Jul 4, 2012 · 0 comments

Comments

@tzachs
Copy link

tzachs commented Jul 4, 2012

Hi,

1st, Thank you for code, really saved me a lot of time.
2nd, This code doesn't work on HP UX V3.
The reason is that the '=' delimeter was replaced in ':'

Example output:
V2 (11.23)

bash-4.0# /usr/contrib/bin/machinfo | grep 'Memory' && /usr/sbin/swapinfo -tam | grep dev
Memory = 10228 MB (9.988281 GB)
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvol2

V3 (11.31)

bash-4.2# usr/contrib/bin/machinfo | grep 'Memory' && /usr/sbin/swapinfo -tam |grep dev
Memory: 8180 MB (7.99 GB)
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvol2

Can you please fix it?

Thanks in advance,
Tzach Solomon

P.S. I forked the project by mistake (My first fork) so I fixed it there in any case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant