Sponsored Content
Top Forums Shell Programming and Scripting cpature data from glance and exit Post 79594 by NPRao on Thursday 28th of July 2005 06:34:17 PM
Old 07-28-2005
Check man glance and you can use these options -
Quote:
-adviser_only This option allows Glance to run with no screen
displays to the terminal. Only the Adviser will run,
sending it's output to stdout. With this option, the
glance Adviser runs in the background, with stdout
output optionally redirected to a file. If you want to
run glance in "Adviser only" mode at startup time, you
must include the -bootup option as well.

-iterations count
This option allows you to limit the number of intervals
that Glance will run. This can be used in conjunction
with the -adviser_only option which enables glance to
run in the background with no terminal screen displays.
Glance will execute for the number of iterations
specified and then terminate. The minimum iteration
value is 2 which will be used if the count is specified
as 2 or less.
What's EOT ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to quit from glance

hi, if i am in glance, how do i exit? thanks (2 Replies)
Discussion started by: yls177
2 Replies

2. UNIX for Dummies Questions & Answers

Where can I find a list of exit codes? (Exit code 64)

I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747
3 Replies

3. HP-UX

glance RSS/VSS data column

hi guys... i got a problem... i have written a trivial test program which allocates some memory, it waits for a while (enters a loop), and then releases that memory. the problem is that although glance depitcs the memory allocation procedure properly - by updating both RSS and VSS data segments... (0 Replies)
Discussion started by: xtrix
0 Replies

4. HP-UX

Glance

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)
Discussion started by: pawel_ul
2 Replies

5. UNIX for Dummies Questions & Answers

HP-UX 11.23 ia64 and Glance

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)
Discussion started by: LisaS
2 Replies

6. HP-UX

HP-UX glance

Hi, plz explain about glance, where do i get information on this tool. thanks. (4 Replies)
Discussion started by: venkat_t
4 Replies

7. Shell Programming and Scripting

Exit script if the user dosent enter any data within 5 seconds

Hello friends, Kindly help me in developing a script that asks user to enter a value and will wait for 5 seconds for the feedback. If there is no answer from the user the script will perform exit or it will continue doing something else Ex: If yu have a multi OS system i believe while... (3 Replies)
Discussion started by: frozensmilz
3 Replies

8. UNIX for Dummies Questions & Answers

How to Export Glance "Global System Calls" data to a file

Hello... I'm trying to setup a cronjob to record system data using glance at certain times of the day. My question is, how would one export the "Global System Calls" information to a file? Below is the command I have been using and it works to export CPU information. glance -f ... (0 Replies)
Discussion started by: fumus
0 Replies

9. HP-UX

Glance and trace over the time

Do you know if Glance is capable to trace a process (or processes) per memory use over the time? I want to have snapshots for example morning and midnigth then compare the info after one weak in order to determine if I have a memory leak in some process I am observing. Is it possible with glace... (1 Reply)
Discussion started by: roche
1 Replies

10. UNIX for Dummies Questions & Answers

Help with glance and nohup

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)
Discussion started by: vijay_105
1 Replies
GPSPIPE(1)							GPSD Documentation							GPSPIPE(1)

NAME
gpspipe - tool to connect to gpsd and retrieve sentences SYNOPSIS
gpspipe [-h] [-d] [-l] [-o filename] [-n count] [-r] [-R] [-s serial-device] [-t] [-T timestamp-format] [-p] [-w] [-v] [-D debug-level] [server [:port [:device]]] DESCRIPTION
gpspipe is a tool to connect to gpsd and output the received sentences to stdout. This makes the program useful as a pipe from gpsd to another program or file. gpspipe does not require root privileges, and can be run concurrently with other tools connecting to the local gpsd without causing problems. The output will consist of one or both of the raw NMEA or native gpsd sentences. Each line can be optionally time stamped. There is also an option to exit gracefully after a given count of packets. Optionally a server, TCP/IP port number and remote device can be given. If omitted, gpspipe connects to localhost on the default port (2947) and watches all devices opened by gpsd. gpspipe may be run as a daemon, but requires the -o flag for writing the output to a file. OPTIONS
-h makes gpspipe print a usage message and exit. -d causes gpspipe to run as a daemon. -l causes gpspipe to sleep for ten seconds before attempting to connect to gpsd. This is very useful when running as a daemon, giving gpsd time to start before attempting a connection. -r causes raw NMEA sentences to be output. -R causes super-raw (gps binary) data to be output. This overrides NMEA and gpsd output modes. -s option causes the collected data to be written to the specified serial device with settings 4800 8N1. Thus gpspipe can be used with -s and -r options to emulate a serial port hardwired to a GPS that gpsd is managing. -o option causes the collected data to be written to the specified file. Use of this option is mandatory if gpspipe is run as a daemon. -w causes native gpsdsentences to be output. -t adds a timestamp to each sentence output. -T sets the format of the timestamp. See strftime(3) for the available placeholders. Setting this option implies -t. -p enables dumping of profiling information in JSON. -n [count] causes [count] sentences to be output. gpspipe will then exit gracefully. -v causes gpspipe to show a spinning activity indicator on stderr. This is useful if stdout is redirected into a file or a pipe. By default the spinner is advanced with every messages written; specifying -v more than once will double the number of messages required to rotate the spinner. -V prints the version, then exits. At least one of -R, -r or -w must be specified. EXAMPLE
When gpsd is running gpspipe -r -n 100 will send one hundred raw NMEA sentences to standard output, then exit. SEE ALSO
gpsd(8), gps(1), libgps(3), libgpsd(3), gpsprof(1), gpsfake(1), gpsctl(1), gpscat(1). gpsmon(1). AUTHOR
Gary E. Miller gem@rellim.com. The GPSD Project 03 Aug 2005 GPSPIPE(1)
All times are GMT -4. The time now is 11:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy