06-05-2014
A few questions:-
- What have you tried so far?
- What output/errors are you getting?
- What OS and version are you using? Different ones have slightly different tools.
- What information do you want? It could be:-
- Total disk allocated to the server
- Total disk allocated within the server (e.g. assigned to filesystems)
- Total space used within filesystems
- Space used within database
- Performance usage
- Perhaps something else?
- What format do you need the output?
What's your thinking on these? If you are clearer then you will get a more useful answer.
Thanks,
Robin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have one hard disk on my computer ( 8 Giga-bytes) and i
installed windows 98 on drive C ( I have 4 drives : C , D , E , F which drive has 2 Giga-bytes space on it )
On which drive ( from 4 drives ) I have a lot data for example : on drive D I store most of my programs which i downloaded from... (7 Replies)
Discussion started by: yoffe_adi
7 Replies
2. UNIX for Dummies Questions & Answers
Hello,
To run UNIX, can the hard disk be partitioned so I could use that part for UNIX and the other for my existing Windows '98? At the moment there are hard drives C: & D:. Also, where can I obtain the UNIX software?.....Your response is appreciated. (2 Replies)
Discussion started by: hpin
2 Replies
3. Shell Programming and Scripting
how to write bash to superuser, when the disk space dips below 10% of the total by automatically sending an email?
It is have any sample for reference (3 Replies)
Discussion started by: foong
3 Replies
4. Shell Programming and Scripting
Hi Engg. ! :mad:
I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies
5. UNIX for Dummies Questions & Answers
How can we check the number of hard disks (both internal & external) in a server, their capacity and serial number (5 Replies)
Discussion started by: muneebr
5 Replies
6. UNIX for Dummies Questions & Answers
hi guys im new here, would like to ask what is the syntax or how could i check the total allocated external disk in HP-UX???
ive check the allocated size using SAM, but in some servers the SAM hangs when checking the disk space. So i would like to know using command line.
thanks (3 Replies)
Discussion started by: gob23g
3 Replies
7. Shell Programming and Scripting
What is the command for checking all the processes running on UNIX. Alos can any one share the CPU utilization script to know what are all the processes running and what is the cpu utilization ...
thanks in advance
Perla Mohan (3 Replies)
Discussion started by: perlamohan
3 Replies
8. SCO
hi
I've a fresh installation of SCO 5.0.7 on the IDE hard disk.
For SCSI hard disk I can declare, for example blc disk driver using:
# mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies
9. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
10. AIX
Please help with command to check the busy % for a hard disk device like hdisk5
Best regards,
Vishal (7 Replies)
Discussion started by: Vishal_dba
7 Replies
LEARN ABOUT ULTRIX
upscli_list_start
UPSCLI_LIST_START(3) NUT Manual UPSCLI_LIST_START(3)
NAME
upscli_list_start - begin multi-item retrieval from a UPS
SYNOPSIS
#include <upsclient.h>
int upscli_list_start(UPSCONN_t *ups, int numq, const char **query)
DESCRIPTION
The upscli_list_start() function takes the pointer ups to a UPSCONN_t state structure, and the pointer query to an array of numq query
elements. It builds a properly-formatted request from those elements and transmits it to upsd(8).
Upon success, the caller must call upscli_list_next(3) to retrieve the elements of the list. Failure to retrieve the list will most likely
result in the client getting out of sync with the server due to buffered data.
USES
This function implements the "LIST" command in the protocol. As a result, you can use it to request many different things from the server.
Some examples are:
o LIST UPS
o LIST VAR <ups>
o LIST RW <ups>
o LIST CMD <ups>
o LIST ENUM <ups> <var>
o LIST RANGE <ups> <var>
QUERY FORMATTING
To see the list of variables on a UPS called su700, the protocol command would be LIST VAR su700. To start that list with this function,
you would populate query and numq as follows:
int numq;
const char *query[2];
query[0] = "VAR";
query[1] = "su700";
numq = 2;
All escaping of special characters and quoting of elements with spaces are handled for you inside this function.
ERROR CHECKING
This function checks the response from upsd(8) against your query. If it is not starting a list, or is starting the wrong type of list, it
will return an error code.
When this happens, upscli_upserror(3) will return UPSCLI_ERR_PROTOCOL.
RETURN VALUE
The upscli_list_start() function returns 0 on success, or -1 if an error occurs.
SEE ALSO
upscli_fd(3), upscli_get(3), upscli_readline(3), upscli_sendline(3), upscli_ssl(3), upscli_strerror(3), upscli_upserror(3)
Network UPS Tools 05/31/2012 UPSCLI_LIST_START(3)