Novell LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION Installation Manual page 349

Hide thumbs Also See for LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION:
Table of Contents

Advertisement

Obtain information about total usage of the file systems with the command df. The
parameter -h (or --human-readable) transforms the output into a form understand-
able for common users.
tux@mercury:~> df -h
Filesystem
/dev/sda3
udev
/dev/sda1
/dev/sda4
Display the total size of all the files in a given directory and its subdirectories with the
command du. The parameter -s suppresses the output of detailed information. -h
again transforms the data into a human-readable form:
tux@mercury:~> du -sh /local
1.7M
/local
17.2.3 Additional Information about ELF
Binaries
Read the content of binaries with the readelf utility. This even works with ELF files
that were built for other hardware architectures:
tux@mercury:~> readelf --file-header /bin/ls
ELF Header:
Magic:
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class:
Data:
Version:
OS/ABI:
ABI Version:
Type:
Machine:
Version:
Entry point address:
Start of program headers:
Start of section headers:
Flags:
Size of this header:
Size of program headers:
Number of program headers:
Size of section headers:
Number of section headers:
Section header string table index: 29
Size
Used Avail Use% Mounted on
11G
3.2G
6.9G
32% /
252M
104K
252M
16M
6.6M
7.8M
46% /boot
27G
34M
27G
ELF32
2's complement, little endian
1 (current)
UNIX - System V
0
EXEC (Executable file)
Intel 80386
0x1
0x8049b60
52 (bytes into file)
81112 (bytes into file)
0x0
52 (bytes)
32 (bytes)
9
40 (bytes)
30
1% /dev
1% /local
System Monitoring Utilities
331

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents