du by default displays all directories and subdirectories recursively, and displays a number of bytes. The -s option tells it to only display the total for the outer directory, and the -h option puts it in human readable format (ie 1.0K instead of 1000).
Hi there,
When I run top on my machine it says I have 497M swap space in use, and 380M swap space free,
but I have only allocated 512M swap space to the machine!!!!
Does anyone know how swap used is calculated in the top command?
Thanks... (1 Reply)
Hi All,
Will df+du=Total space allocted for a file system??
Is the above correct. Please correct me If iam wrong.
In one my programs the above is not happening.
Please help me out.
Many thanks.
Regards,
Manas (2 Replies)
i am working with solaris 9 and my disk usages are
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2148263 1902721 202577 91% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 ... (3 Replies)
Hey guys,
I am somewhat new to Solaris - and very new when it comes to mounts.
My problem is that when I installed Solaris, I allocated way too little diskspace to my / mount (it first became obvious now, however, because of new needs).
bash-3.00# df -h
Filesystem size ... (25 Replies)
I need to find available disk space for /home.
$ df /home
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mahhh/VolGroup11-LogVol00
32281452 45028 26034172 15% /
$df /home |tail -1| awk '{print $4}'
15%
The above result shows the... (5 Replies)
Hi,
I want write a script that finds a set of folders written between a certain time and then find the disk space used by those folders. Can someone please help.
Thanks,
Sparcman:( (1 Reply)
Hi All,
I am using SSH Tectia terminal to get the disk space utilization of a particular folder /opt/logs in all the servers one by one using the command df -h and looking through the list of folders manually to get /opt/logs folder disk space used percentage .
The problem here is , it... (2 Replies)
Hi ,
I Would like to know the space allocated by adding up all the allocated space to group of filesystems ..
example ,
df -h|grep /db | awk '{ print $4 }' ---> giving me all the used space on the filesystem but need to know the total used space by adding up all the values (3 Replies)
Discussion started by: nsankineni
3 Replies
LEARN ABOUT NETBSD
kdump
KDUMP(1) BSD General Commands Manual KDUMP(1)NAME
kdump -- display kernel trace data
SYNOPSIS
kdump [-dlNnRT] [-e emulation] [-f file] [-m maxdata] [-p pid] [-t trstr] [-x | -X size] [file]
DESCRIPTION
kdump displays the kernel trace files produced with ktrace(1) in human readable format. The file ktrace.out in the current directory is dis-
played, unless either the -f option is used, or a file name is supplied as the last argument.
The options are as follows:
-d Display all numbers in decimal.
-e emulation
If an emulation of a process is unknown, interpret system call maps assuming the named emulation instead of default "netbsd".
-f file Display the specified file instead of ktrace.out.
-l Loop reading the trace file, once the end-of-file is reached, waiting for more data.
-m maxdata Display at most maxdata bytes when decoding I/O.
-N Suppress system call number-to-name translation.
-n Suppress ad hoc translations. Normally kdump tries to decode many system calls into a more human readable format. For example,
ioctl(2) values are replaced with the macro name and errno values are replaced with the strerror(3) string. Suppressing this
feature yields a more consistent output format and is easily amenable to further processing.
-p pid Only display records from the trace file that are for the indicated pid.
-R Display relative timestamps (time since previous entry).
-T Display absolute timestamps for each entry (seconds since epoch).
-t trstr Restrict display to the specified set of kernel trace points. The default is to display everything in the file. See the -t
option of ktrace(1).
-x Display GIO data in hex and ascii instead of vis(3) format.
-X size Same as -x but display hex values by groups of size bytes. Supported values are 1, 2, 4, 8, and 16.
SEE ALSO ktrace(1)HISTORY
The kdump command appears in 4.4BSD.
BSD November 15, 2003 BSD