Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 04-08-2006 Installation Manual page 327

Table of Contents

Advertisement

udev
/dev/hda1
/dev/hda4
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:
tester@linux:~> 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:
tester@linux:~> 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
17.2.4 File Properties: stat
The command stat displays file properties:
tester@linux:~> stat /etc/profile
File: `/etc/profile'
Size: 7930
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
Blocks: 16
1% /dev
1% /local
IO Block: 4096
System Monitoring Utilities
regular file
327

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents