On a HP-UX 11.31 server I try to make a script that can launch glance for x iterations and the output to be stored in a file. I want to be able to launch the script via crontab.
glance manual says that in order to run glance in the background with no terminal screen displays I should use -adviser_only & -iterations options.
I tried this:
Issues:
- the job does not run in background, it displays everything on the terminal
- glance doesn;t stop automatically after 2 iterations.
indeed it sends the output to the /tmp/glance/glance.20160613 file and the file keeps the data after I stop glance.
As for your problems, are you sure you inputed -iterations -adviser_only,
I see no dash in your current command and looks like advisor_only should be adviser_only
As for your problems, are you sure you inputed -iterations -adviser_only,
I see no dash in your current command and looks like advisor_only should be adviser_only
Hope that helps
Best regards
Peasant.
thanks for the reply. I used this syntax also and got these results:
so the /tmp/glance/glance.20160613 is empty
Last edited by black_fender; 06-16-2016 at 05:29 AM..
Hello gurus,
I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired
report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup
is shown below:
#!/bin/ksh
db2... (3 Replies)
I am new to shell scripting.
Can someone explain me what this piece of code do..
/usr/bin/nohup /opt/perf/bin/glance -aos filename2.syntax -iterations 1 > filename.log (1 Reply)
I've been searching and cannot seem to find anywhere online a link to a manual for Glance.
Does anyone have a link to this? I searched in here already and the links I found on a post from 2002 were dead.
And more to the point, do you know if you can use Glance to see Disk I/O per logical... (2 Replies)
Hi ALL - I need look to output data return from glance command but a don't have any access to HP-UX server. Maybe any HP-UX Admin send this data to my email (Removed.)
Thanks for help
Pawel (2 Replies)
Hello all,
I´m newbie using HP-GLANCEPlus. I readed the help screens provided but, I´m wonder if there are a user manual to use glance, or where can I find some usefull tips to use this tool better.
Anybody have some information?
Regards. (2 Replies)
Hi ,
I a stuck with this problem. I am trying to execute this script1 on SERVER 1 from SERVER 2 using script2
script1 on SERVER 1
#!/usr/bin/ksh
/opt/perf/bin/glance -f -adviser_only -iterations 2 -maxpages 2 > /home/user/scripts/glance.op
cpuval1=`grep ^CPU... (4 Replies)