03-08-2002
but you can use the -options
df -h for human
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
When i was trying to store a file of size 743 MB into a directory i got a msg. that the disk is full. But when i used the df -k . command on that directory it showed only 40% in usage and the disk had more than enough memory for the file. When i checked the syslog i found that at that instant of... (2 Replies)
Discussion started by: spdas
2 Replies
2. HP-UX
I want to record one application's(like oracle etc...) CPU usage summary.
I can filter by "ps". But how to sum?
Thanks (1 Reply)
Discussion started by: jiarong.lu
1 Replies
3. Shell Programming and Scripting
Hi,
I'm posting my question here as I fele that what I am about to try to do must have been done already, and I don't want to re-invent the wheel.
I have recently become responsible for monitoring disk space usage for a large file system.
I would like to geenrate reports that will summise... (8 Replies)
Discussion started by: littleIdiot
8 Replies
4. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
6. UNIX for Dummies Questions & Answers
hey i want to print the summary or the total disk usage of the configuration files that are in the /etc directory printed in human-readable format.
i think i got somewhere right as am using wc *.conf commands but i am unsure how to use to put it in human-readable format with the wc command.
... (13 Replies)
Discussion started by: stefanere2k9
13 Replies
7. Shell Programming and Scripting
Hi all,
I am looking for help with a script for displaying the space available from a df - h command for / (root).
The problem is: If it is below 700 MB I have jobs that are failing... Is there a way I can do a calculation? If it above 700 MB it is good, if it is below 700 MB it will fail.... (5 Replies)
Discussion started by: gartie
5 Replies
8. UNIX for Beginners Questions & Answers
HI I am Trying to edit the below code to send email every day with difference of disk utilized in for last 24 hours but instead getting same usage everyday. can you please help me to point out where my calculation is going wrong. Thank you.
=================
#!/bin/bash
TODAY="at $(date... (0 Replies)
Discussion started by: Mi4304
0 Replies
LEARN ABOUT OPENSOLARIS
atohexlabel
atohexlabel(1M) System Administration Commands atohexlabel(1M)
NAME
atohexlabel - convert a human readable label to its internal text equivalent
SYNOPSIS
/usr/sbin/atohexlabel [human-readable-sensitivity-label]
/usr/sbin/atohexlabel -c [human-readable-clearance]
DESCRIPTION
atohexlabel converts a human readable label into an internal text representation that is safe for storing in a public object. If no option
is supplied, the label is assumed to be a sensitivity label.
Internal conversions can later be parsed to their same value. This internal form is often hexadecimal. The converted label is written to
the standard output file. If no human readable label is specified, the label is read from the standard input file. The expected use of this
command is emergency repair of labels that are stored in internal databases.
OPTIONS
-c Identifies the human readable label as a clearance.
EXIT STATUS
The following exit values are returned:
0 On success.
1 On failure, and writes diagnostics to the standard error file.
FILES
/etc/security/tsol/label_encodings
The label encodings file contains the classification names, words, constraints, and values for the defined labels of this system.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtsu |
+-----------------------------+-----------------------------+
|Interface Stability |See below. |
+-----------------------------+-----------------------------+
The command output is Committed for systems with the same label_encodings file. The command invocation is Committed for systems that imple-
ment the DIA MAC policy.
SEE ALSO
hextoalabel(1M), label_to_str(3TSOL), str_to_label(3TSOL), label_encodings(4), attributes(5)
How to Get the Hexadecimal Equivalent for a Label in Solaris Trusted Extensions Administrator's Procedures
NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
This file is part of the Defense Intelligence Agency (DIA) Mandatory Access Control (MAC) policy. This file might not be applicable to
other MAC policies that might be developed for future releases of Solaris Trusted Extensions software.
SunOS 5.11 20 Jul 2007 atohexlabel(1M)