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


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to Export Glance "Global System Calls" data to a file
# 1  
Old 10-11-2011
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 /home/fcp/logs/glance_output.txt -advisor_only -bootup -iterations 2 > /dev/null

I want to pass in the -Y option somehow to give me the "Global System Calls" information...

Any idea how to do this?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

What does "force devmap reload" as in "multipath -r" means for my system and stability of my system?

Cannot present unpresented disks back again. On a test server tried this as a solution "multipath -r" and it worked. Too worried to try it in production before I know all the information. Any info would be appreciated! Also some links to the documentation on this specific issue could help a... (1 Reply)
Discussion started by: jsteppe
1 Replies

2. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

3. Shell Programming and Scripting

awk "date" and "system" command

Hello experts! I need your help please I have a file.txt of which I want to extract 3rd and 4th columns with date with the form e.g.: 2016-11-25 03:14:50and pass them to "date" command, but also append the 9th column in a file as well. So I want to execute date -d '2016-11-25 03:14:50' ... (2 Replies)
Discussion started by: phaethon
2 Replies

4. Red Hat

Related to "NAS" some file system (mounted volumes) were not writable

Dear friends, I have been facing an issue with one of my red hat unix machine, suddenly lost to switch sudo users. My all colleagues lost to switch to access sudo users. Then, we have realized its related to NAS issue which does not allowing to write the file. because of this we got so many... (1 Reply)
Discussion started by: Chand
1 Replies

5. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Shell Programming and Scripting

Command to view full data "export MAESTRO_OUTPUT_STYLE=LONG"

Hi, Always when I login to Unix, I need to give the following command to view the data properly; export MAESTRO_OUTPUT_STYLE=LONG The reason is that by default the settings export MAESTRO_OUTPUT_STYLE=SHORT Please let me know how I could make LONG as the default and avoid giving the... (1 Reply)
Discussion started by: jmathew99
1 Replies

8. AIX

AIX 6.1 Error - "A file, file system or message queue is no longer available."

Getting a strange error with a log file below. This is just a normal text log file that is written to by an application on the server. The applicaiton is down, however, I cannot read, remove or touch this file. The file shows on an ls listing but not an ls -al listing. The file system is JFS2... (0 Replies)
Discussion started by: troym72
0 Replies

9. UNIX for Advanced & Expert Users

fsck.gfs2 outputs "RG recovery impossible; I can't fix this file system"

I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck: fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
Discussion started by: king_hippo
0 Replies

10. Programming

Why ""No mountable file system"

I tried to install OpenMotif under Mac OS in the computing lab today, but I got "No mountable file system". Is it because I don't have the administrator's privilege? (0 Replies)
Discussion started by: endeavour1985
0 Replies
Login or Register to Ask a Question
erl_global(3erl)						C Library Functions						  erl_global(3erl)

NAME
erl_global - Access globally registered names DESCRIPTION
This module provides support for registering, looking up and unregistering names in the Erlang Global module. For more information, see the description of Global in the reference manual. Note that the functions below perform an RPC using an open file descriptor provided by the caller. This file descriptor must not be used for other traffic during the global operation or the function may receive unexpected data and fail. EXPORTS
char ** erl_global_names(fd,count) Types int fd; int *count; Retrieve a list of all known global names. fd is an open descriptor to an Erlang connection. count is the address of an integer, or NULL. If count is not NULL, it will be set by the function to the number of names found. On success, the function returns an array of strings, each containing a single registered name, and sets count to the number of names found. The array is terminated by a single NULL pointer. On failure, the function returns NULL and count is not modified. Note: It is the caller's responsibility to free the array afterwards. It has been allocated by the function with a single call to malloc() , so a single free() is all that is necessary. int erl_global_register(fd,name,pid) Types int fd; const char *name; ETERM *pid; This function registers a name in Global. fd is an open descriptor to an Erlang connection. name is the name to register in Global. pid is the pid that should be associated with name . This is the value that Global will return when processes request the location of name . The function returns 0 on success, or -1 on failure. int erl_global_unregister(fd,name) Types int fd; const char *name; This function unregisters a name from Global. fd is an open descriptor to an Erlang connection. name is the name to unregister from Global. The function returns 0 on success, or -1 on failure. ETERM * erl_global_whereis(fd,name,node) Types int fd; const char *name; char *node; fd is an open descriptor to an Erlang connection. name is the name that is to be looked up in Global. If node is not NULL, it is a pointer to a buffer where the function can fill in the name of the node where name is found. node can be passed directly to erl_connect() if necessary. On success, the function returns an Erlang Pid containing the address of the given name, and node will be initialized to the node- name where name is found. On failure NULL will be returned and node will not be modified. Ericsson AB erl_interface 3.7.3 erl_global(3erl)