New feature "Top Process" doesn't work since "Top" command seems to
be hard coded to /usr/bin/top (seen in the «Help-> Logs» menu) and
doens't work on our Solaris server
Is there a way to make it more flexible ? (for instance when top is
installed elsewhere ?)
Yes, you can customize the command:
- stop lab128;
- edit lab128.ini file, find [lab128] section, then insert the line:
top_command=SunOS;;/usr/bin/top -b -s6 -d2123456789 50
The line shown is an equivalent of hard-coded command in lab128. You
will need to tweak the path.
You can also try specifying 'xterm' type of monitor:
top_command=SunOS; xterm; /usr/bin/top -b -s6 -d2123456789 50
In case you need to customize 'top' for HP_UX:
top_command=HP-UX; xterm; /usr/bin/top -s6 -d2123456789 -w -n 50 -f /
dev/tty
Linux:
top_command=Linux; ; top -b -d 6 -c -n2123456789
It may work with 'topas' using the same top_command trick. I don't
have the access to AIX. Can you send me the sample output from topas?
Can you get with topas something similar to Linux's 'top -b -d 6 -c'?
Regards,
Sergei
On Nov 10, 5:26 am, ccorgnet <ccorg...@gmail.com> wrote:
> New feature "Top Process" doesn't work since "Top" command seems to
> be hard coded to /usr/bin/top (seen in the «Help-> Logs» menu) and
> doens't work on our Solaris server
> Is there a way to make it more flexible ? (for instance when top is
> installed elsewhere ?)
> Yes, you can customize the command:
> - stop lab128;
> - edit lab128.ini file, find [lab128] section, then insert the line:
> top_command=SunOS;;/usr/bin/top -b -s6 -d2123456789 50
> The line shown is an equivalent of hard-coded command in lab128. You
> will need to tweak the path.
> You can also try specifying 'xterm' type of monitor:
> top_command=SunOS; xterm; /usr/bin/top -b -s6 -d2123456789 50
> In case you need to customize 'top' for HP_UX:
> top_command=HP-UX; xterm; /usr/bin/top -s6 -d2123456789 -w -n 50 -f /
> dev/tty
> Linux:
> top_command=Linux; ; top -b -d 6 -c -n2123456789
> It may work with 'topas' using the same top_command trick. I don't
> have the access to AIX. Can you send me the sample output from topas?
> Can you get with topas something similar to Linux's 'top -b -d 6 -c'?
> Regards,
> Sergei
> On Nov 10, 5:26 am, ccorgnet <ccorg...@gmail.com> wrote:
> > Hello
> > New feature "Top Process" doesn't work since "Top" command seems to
> > be hard coded to /usr/bin/top (seen in the «Help-> Logs» menu) and
> > doens't work on our Solaris server
> > Is there a way to make it more flexible ? (for instance when top is
> > installed elsewhere ?)
> > Is it compatible with Aix's top command (topas)
I am trying to make topas on AIX work with lab128. I also have topas
output samples from another user. What I have seen that sometimes data
in adjacent columns have no delimiter. For example, USER and PID
columns in your snapshot. From another snapshots, it was even worse:
the CPU, I/O and OTHER columns all merged into one number string. This
makes impossible for something like awk to parse into the pieces.
There is a hope that the columns have a fixed length, which is not
true for at least one column - OTHER. Not sure it is going to be
reliable for other columns.
Still working on it.
Sergei
On Nov 15, 5:09 am, ccorgnet <ccorg...@gmail.com> wrote:
> On 10 nov, 18:01, Sergei - Lab128 <ser...@usa.com> wrote:
> > Hi Chris
> > Yes, you can customize the command:
> > - stop lab128;
> > - edit lab128.ini file, find [lab128] section, then insert the line:
> > top_command=SunOS;;/usr/bin/top -b -s6 -d2123456789 50
> > The line shown is an equivalent of hard-coded command in lab128. You
> > will need to tweak the path.
> > You can also try specifying 'xterm' type of monitor:
> > top_command=SunOS; xterm; /usr/bin/top -b -s6 -d2123456789 50
> > In case you need to customize 'top' for HP_UX:
> > top_command=HP-UX; xterm; /usr/bin/top -s6 -d2123456789 -w -n 50 -f /
> > dev/tty
> > Linux:
> > top_command=Linux; ; top -b -d 6 -c -n2123456789
> > It may work with 'topas' using the same top_command trick. I don't
> > have the access to AIX. Can you send me the sample output from topas?
> > Can you get with topas something similar to Linux's 'top -b -d 6 -c'?
> > Regards,
> > Sergei
> > On Nov 10, 5:26 am, ccorgnet <ccorg...@gmail.com> wrote:
> > > Hello
> > > New feature "Top Process" doesn't work since "Top" command seems to
> > > be hard coded to /usr/bin/top (seen in the «Help-> Logs» menu) and
> > > doens't work on our Solaris server
> > > Is there a way to make it more flexible ? (for instance when top is
> > > installed elsewhere ?)
> > > Is it compatible with Aix's top command (topas)
Guess this merging columns feature will be hard to bypass !
Another option, though quite slightly different from standard top
output (less rich for top process output but with a right hand side
hard set) could be :
topas -c 0 -n 0 -i 6
Depending on the aix platform - 5.2 or 6.1 in my case - you'll get one
of these results which might be easier to handle with such a tool as
awk ?
> I am trying to make topas on AIX work with lab128. I also have topas
> output samples from another user. What I have seen that sometimes data
> in adjacent columns have no delimiter. For example, USER and PID
> columns in your snapshot. From another snapshots, it was even worse:
> the CPU, I/O and OTHER columns all merged into one number string. This
> makes impossible for something like awk to parse into the pieces.
> There is a hope that the columns have a fixed length, which is not
> true for at least one column - OTHER. Not sure it is going to be
> reliable for other columns.
> Still working on it.
> Sergei
> On Nov 15, 5:09 am, ccorgnet <ccorg...@gmail.com> wrote:
> > Hello Sergei
> > Thanks a lot for your quick answer which answers to most of my needs !
> > Il think that the closest equivalent to linux top command for aix
> > topas is :
> > On 10 nov, 18:01, Sergei - Lab128 <ser...@usa.com> wrote:
> > > Hi Chris
> > > Yes, you can customize the command:
> > > - stop lab128;
> > > - edit lab128.ini file, find [lab128] section, then insert the line:
> > > top_command=SunOS;;/usr/bin/top -b -s6 -d2123456789 50
> > > The line shown is an equivalent of hard-coded command in lab128. You
> > > will need to tweak the path.
> > > You can also try specifying 'xterm' type of monitor:
> > > top_command=SunOS; xterm; /usr/bin/top -b -s6 -d2123456789 50
> > > In case you need to customize 'top' for HP_UX:
> > > top_command=HP-UX; xterm; /usr/bin/top -s6 -d2123456789 -w -n 50 -f /
> > > dev/tty
> > > Linux:
> > > top_command=Linux; ; top -b -d 6 -c -n2123456789
> > > It may work with 'topas' using the same top_command trick. I don't
> > > have the access to AIX. Can you send me the sample output from topas?
> > > Can you get with topas something similar to Linux's 'top -b -d 6 -c'?
> > > Regards,
> > > Sergei
> > > On Nov 10, 5:26 am, ccorgnet <ccorg...@gmail.com> wrote:
> > > > Hello
> > > > New feature "Top Process" doesn't work since "Top" command seems to
> > > > be hard coded to /usr/bin/top (seen in the «Help-> Logs» menu) and
> > > > doens't work on our Solaris server
> > > > Is there a way to make it more flexible ? (for instance when top is
> > > > installed elsewhere ?)
> > > > Is it compatible with Aix's top command (topas)
This output can be a challenge for awk, but probably less difficult
parsing in a program. One thing I noticed is CPU 0% for all processes.
Is that because these were the very first snapshots, and following
screens will show CPU non-zero?
Let me ask you about 'nmon' open-source utility for AIX. Are you using
it? Also interesting how popular is nmon on this platform, how
difficult to install etc. nmon is not supported by IBM, but they
mention it in the documentation. Its output seems to be much closer to
the 'top' and supports "batch" mode. There are screen shots of nmon on
Wikipedia.
On Nov 16, 10:30 am, ccorgnet <ccorg...@gmail.com> wrote:
> Guess this merging columns feature will be hard to bypass !
> Another option, though quite slightly different from standard top
> output (less rich for top process output but with a right hand side
> hard set) could be :
> topas -c 0 -n 0 -i 6
> Depending on the aix platform - 5.2 or 6.1 in my case - you'll get one
> of these results which might be easier to handle with such a tool as
> awk ?
> On 15 nov, 19:43, Sergei - Lab128 <ser...@usa.com> wrote:
> > Hi Chris,
> > Thank you for the update.
> > I am trying to make topas on AIX work with lab128. I also have topas
> > output samples from another user. What I have seen that sometimes data
> > in adjacent columns have no delimiter. For example, USER and PID
> > columns in your snapshot. From another snapshots, it was even worse:
> > the CPU, I/O and OTHER columns all merged into one number string. This
> > makes impossible for something like awk to parse into the pieces.
> > There is a hope that the columns have a fixed length, which is not
> > true for at least one column - OTHER. Not sure it is going to be
> > reliable for other columns.
> > Still working on it.
> > Sergei
> > On Nov 15, 5:09 am, ccorgnet <ccorg...@gmail.com> wrote:
> > > Hello Sergei
> > > Thanks a lot for your quick answer which answers to most of my needs !
> > > Il think that the closest equivalent to linux top command for aix
> > > topas is :
Yes the server was not used at all when i ran the command !
Yes nmon is usually installed on our most critical platforms because
of its support of historical performance data !
It has become a standard in Aix 6.1. Do you provide a support with
that tool ? (it would be great !!)
On 16 nov, 17:20, Sergei - Lab128 <ser...@usa.com> wrote:
> This output can be a challenge for awk, but probably less difficult
> parsing in a program. One thing I noticed is CPU 0% for all processes.
> Is that because these were the very first snapshots, and following
> screens will show CPU non-zero?
> Let me ask you about 'nmon' open-source utility for AIX. Are you using
> it? Also interesting how popular is nmon on this platform, how
> difficult to install etc. nmon is not supported by IBM, but they
> mention it in the documentation. Its output seems to be much closer to
> the 'top' and supports "batch" mode. There are screen shots of nmon on
> Wikipedia.
> On Nov 16, 10:30 am, ccorgnet <ccorg...@gmail.com> wrote:
> > Hie Sergei
> > Guess this merging columns feature will be hard to bypass !
> > Another option, though quite slightly different from standard top
> > output (less rich for top process output but with a right hand side
> > hard set) could be :
> > topas -c 0 -n 0 -i 6
> > Depending on the aix platform - 5.2 or 6.1 in my case - you'll get one
> > of these results which might be easier to handle with such a tool as
> > awk ?
> > On 15 nov, 19:43, Sergei - Lab128 <ser...@usa.com> wrote:
> > > Hi Chris,
> > > Thank you for the update.
> > > I am trying to make topas on AIX work with lab128. I also have topas
> > > output samples from another user. What I have seen that sometimes data
> > > in adjacent columns have no delimiter. For example, USER and PID
> > > columns in your snapshot. From another snapshots, it was even worse:
> > > the CPU, I/O and OTHER columns all merged into one number string. This
> > > makes impossible for something like awk to parse into the pieces.
> > > There is a hope that the columns have a fixed length, which is not
> > > true for at least one column - OTHER. Not sure it is going to be
> > > reliable for other columns.
> > > Still working on it.
> > > Sergei
> > > On Nov 15, 5:09 am, ccorgnet <ccorg...@gmail.com> wrote:
> > > > Hello Sergei
> > > > Thanks a lot for your quick answer which answers to most of my needs !
> > > > Il think that the closest equivalent to linux top command for aix
> > > > topas is :
> Yes the server was not used at all when i ran the command !
> Yes nmon is usually installed on our most critical platforms because
> of its support of historical performance data !
> It has become a standard in Aix 6.1. Do you provide a support with
> that tool ? (it would be great !!)
> On 16 nov, 17:20, Sergei - Lab128 <ser...@usa.com> wrote:
> > This output can be a challenge for awk, but probably less difficult
> > parsing in a program. One thing I noticed is CPU 0% for all processes.
> > Is that because these were the very first snapshots, and following
> > screens will show CPU non-zero?
> > Let me ask you about 'nmon' open-source utility for AIX. Are you using
> > it? Also interesting how popular is nmon on this platform, how
> > difficult to install etc. nmon is not supported by IBM, but they
> > mention it in the documentation. Its output seems to be much closer to
> > the 'top' and supports "batch" mode. There are screen shots of nmon on
> > Wikipedia.
> > On Nov 16, 10:30 am, ccorgnet <ccorg...@gmail.com> wrote:
> > > Hie Sergei
> > > Guess this merging columns feature will be hard to bypass !
> > > Another option, though quite slightly different from standard top
> > > output (less rich for top process output but with a right hand side
> > > hard set) could be :
> > > topas -c 0 -n 0 -i 6
> > > Depending on the aix platform - 5.2 or 6.1 in my case - you'll get one
> > > of these results which might be easier to handle with such a tool as
> > > awk ?
> > > On 15 nov, 19:43, Sergei - Lab128 <ser...@usa.com> wrote:
> > > > Hi Chris,
> > > > Thank you for the update.
> > > > I am trying to make topas on AIX work with lab128. I also have topas
> > > > output samples from another user. What I have seen that sometimes data
> > > > in adjacent columns have no delimiter. For example, USER and PID
> > > > columns in your snapshot. From another snapshots, it was even worse:
> > > > the CPU, I/O and OTHER columns all merged into one number string. This
> > > > makes impossible for something like awk to parse into the pieces.
> > > > There is a hope that the columns have a fixed length, which is not
> > > > true for at least one column - OTHER. Not sure it is going to be
> > > > reliable for other columns.
> > > > Still working on it.
> > > > Sergei
> > > > On Nov 15, 5:09 am, ccorgnet <ccorg...@gmail.com> wrote:
> > > > > Hello Sergei
> > > > > Thanks a lot for your quick answer which answers to most of my needs !
> > > > > Il think that the closest equivalent to linux top command for aix
> > > > > topas is :
What will happen on this command: nmon -t -c 2 -s 6 -F /dev/tty
I am trying to get top data (t); 2 snapshots (-c 2); 6 seconds apart (- s 6); in the batch (-F) mode and redirecting back to the screen. Will you get 2 snapshots in csv (comma-separated values) format onto the screen? Thank you, Sergei
On Nov 17, 1:22 pm, ccorgnet <ccorg...@gmail.com> wrote: