Unfortunately, the HP-UX iostat only gives KB/s transferred, Seeks/s and ms/seek per disk device
and not the detail the Linux implementation does.
If that doesn't suffice you would need Glance (which requires an extra license).
With Glance installed you can get virtually any system metric,
and you could write a so called Adviser script (shell like syntax) which you can run from a shell script on glance in adviser-only mode (i.e. not the usual interactive mode of glance).
However, with the network stats per NIC we have more luck.
On HP-UX you only use a different interface, viz. the lanadmin command.
So for instance to get the MIB counters of lan0 on this HP box I could issue
This produces lots of counters which I omitted here for brevity,
and which you will have to parse for interesting data.
Important is the final arg which is the so called PPA (physical point of attachment, HP's way of enumerating NICs so to speak)
To get an overview of which NICs are built into the box and supported by the kernel you can run
or more tersely to take only active NICs into account
Hello All,
Greetings!!
I was trying to create a custom option in systemctl like its out of the box options eg--> status, stop, start, restart, I have tried searching in google but didn't find anything related to it.
Basically I would like to create a custom option which is related to... (9 Replies)
Hi,
If I want to list files with names containing a certain letter like " a " using just one ls command, is there any way of doing that?
Note that it is containing a letter instead of one of the following (starting, ending with a letter or having the letter in between). what I want is to show... (1 Reply)
Here is my question, a few years back I was sitting in an airplane and saw the movie display for all the passengers in the back of all the seats boot up. You could see the all too familiar boot-up-scrolling text that we are all used to with Linux. But probably only a few other folks on the plane... (2 Replies)
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Hi,
I am working on a Linux machine.
I need to disable 2 options from the available 6 options of a command.
For eg. in the "ls" command we have various options like "l ,r, t, a, .... "
From this, I need to disable option "a"
So when the users type in "ls -a", they should get an error or... (4 Replies)
Sir ,
Is there any way for me to disable force (-f ) options to linux commands like rm. I tried to alias rm -f.
alias rm -f = "rm -i"
but it shows bad alias name error
I need this command specifically for rm. Atleast i want this command to be interactive whether I issue rm ,rm... (2 Replies)
my description from another thread...
here's my code:
#!/bin/bash
IFS=$'\n'
function OutputName() {
input=$1
echo $input
input=`echo "$input" | sed -e 's/.//'`
input=`echo "$input".avi`
output_name=$input
}
if ]; then
echo... (5 Replies)