Feeds:
Posts
Comments

Archive for the ‘Check your system’ Category

Tiger is a security program for Unix. It scans system configuration files, file system, and user configuration files for possible security problems and reports them.

Tiger was developed by Texas A&M University, 1994 , updated by the Advanced Research Corporation, 1999-2002 and further updated by Javier Fernandez-Sanguino, 2001-2005 .

Tiger is covered by the GNU General Public License (GPL)

Installation

From Ubuntu Linux terminal, type:

taufanlubis@toshiba:~$ sudo apt-get install tiger

Reading package lists… Done

Building dependency tree

Reading state information… Done

Recommended packages:

sendmail mail-transport-agent john chkrootkit

The following NEW packages will be installed:

tiger

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 559kB of archives.

After unpacking 2863kB of additional disk space will be used.

Get:1 http://archive.ubuntu.com gutsy/universe tiger 1:3.2.1-37ubuntu1 [559kB]

Fetched 559kB in 48s (11.5kB/s)

Preconfiguring packages …

Selecting previously deselected package tiger.

(Reading database … 125037 files and directories currently installed.)

Unpacking tiger (from …/tiger_1%3a3.2.1-37ubuntu1_i386.deb) …

Setting up tiger (1:3.2.1-37ubuntu1) …

taufanlubis@toshiba:~$

 

How to run?

taufanlubis@toshiba:~$ sudo tiger

[sudo] password for taufanlubis:

Tiger UN*X security checking system

Developed by Texas A&M University, 1994

Updated by the Advanced Research Corporation, 1999-2002

Further updated by Javier Fernandez-Sanguino, 2001-2005

Covered by the GNU General Public License (GPL)

Configuring…

Will try to check using config for ‘i686′ running Linux 2.6.22-14-generic…

–CONFIG– [con005c] Using configuration files for Linux 2.6.22-14-generic. Using

configuration files for generic Linux 2.

Tiger security scripts *** 3.2.1, 2003.10.10.18.00 ***

06:37> Beginning security report for toshiba.

06:37> Starting file systems scans in background…

06:37> Checking password files…

06:37> Checking group files…

06:37> Checking user accounts…

06:37> Checking .rhosts files…

06:37> Checking .netrc files…

06:37> Checking ttytab, securetty, and login configuration files…

06:37> Checking PATH settings…

06:37> Checking anonymous ftp setup…

06:37> Checking mail aliases…

06:37> Checking cron entries…

06:37> Checking ‘inetd’ configuration…

06:37> Checking ‘tcpd’ configuration…

06:37> Checking ‘services’ configuration…

06:38> Checking NFS export entries…

06:38> Checking permissions and ownership of system files…

–CONFIG– [con010c] Filesystem ‘securityfs’ used by ‘securityfs’ is not recognised as a local filesystem

06:38> Checking for indications of break-in…

–CONFIG– [con010c] Filesystem ‘securityfs’ used by ‘securityfs’ is not recognised as a local filesystem

06:38> Performing rootkit checks…

06:38> Performing system specific checks…

06:42> Performing root directory checks…

06:42> Checking for secure backup devices…

06:42> Checking for the presence of log files…

06:42> Checking for the setting of user’s umask…

06:42> Checking for listening processes…

06:42> Checking SSHD’s configuration…

06:42> Checking the printers control file…

06:42> Checking ftpusers configuration…

06:42> Checking NTP configuration…

06:42> Waiting for filesystems scans to complete…

06:42> Filesystems scans completed…

06:42> Performing check of embedded pathnames…

06:42> Security report completed for toshiba.

Security report is in `/var/log/tiger/security.report.toshiba.080207-06:37′.

taufanlubis@toshiba:~$

 

Check the report

taufanlubis@toshiba:~$ sudo gedit /var/log/tiger/security.report.toshiba.080207-06:37

Security scripts *** 3.2.1, 2003.10.10.18.00 ***

Thu Feb 7 06:37:54 WIT 2008

06:37> Beginning security report for toshiba (i686 Linux 2.6.22-14-generic).

# Performing check of passwd files…

# Checking entries from /etc/passwd.

–WARN– [pass014w] Login (backup) is disabled, but has a valid shell.

–WARN– [pass014w] Login (bin) is disabled, but has a valid shell.

–WARN– [pass014w] Login (daemon) is disabled, but has a valid shell.

–WARN– [pass014w] Login (games) is disabled, but has a valid shell.

–WARN– [pass014w] Login (gnats) is disabled, but has a valid shell.

–WARN– [pass014w] Login (irc) is disabled, but has a valid shell.

–WARN– [pass014w] Login (list) is disabled, but has a valid shell.

–WARN– [pass014w] Login (lp) is disabled, but has a valid shell.

–WARN– [pass014w] Login (mail) is disabled, but has a valid shell.

–WARN– [pass014w] Login (man) is disabled, but has a valid shell.

–WARN– [pass014w] Login (news) is disabled, but has a valid shell.

–WARN– [pass014w] Login (nobody) is disabled, but has a valid shell.

–WARN– [pass014w] Login (proxy) is disabled, but has a valid shell.

–WARN– [pass015w] Login ID sync does not have a valid shell (/bin/sync).

–WARN– [pass014w] Login (sys) is disabled, but has a valid shell.

–WARN– [pass014w] Login (uucp) is disabled, but has a valid shell.

–WARN– [pass014w] Login (www-data) is disabled, but has a valid shell.

–WARN– [pass012w] Home directory /nonexistent exists multiple times (2) in

/etc/passwd.

–WARN– [pass006w] Integrity of password files questionable (/usr/sbin/pwck

-r).

# Performing check of group files…

# Performing check of user accounts…

# Checking accounts from /etc/passwd.

–WARN– [acc006w] Login ID gdm’s home directory (/var/lib/gdm) has group

`gdm’ write access.

–WARN– [acc022w] Login ID nobody home directory (/nonexistent) is not

accessible.

# Performing check of /etc/hosts.equiv and .rhosts files…

# Checking accounts from /etc/passwd…

# Performing check of .netrc files…

# Checking accounts from /etc/passwd…

# Performing common access checks for root (in /etc/default/login, /securetty, and /etc/ttytab…

–WARN– [root003w] Root user has message capability turned on.

# Performing check of PATH components…

–WARN– [path009w] /etc/profile does not export an initial setting for PATH.

# Only checking user ‘root’

# Performing check of anonymous FTP…

# Performing checks of mail aliases…

# Checking aliases from /etc/aliases.

# Performing check of `cron’ entries…

–WARN– [cron004w] Root crontab does not exist

–WARN– [cron005w] Use of cron is not restricted

# Performing check of ‘inetd’…

# Checking inetd entries from /etc/inetd.conf

# Performing check of services with tcp wrappers…

# Analysing inetd entries from /etc/inetd.conf

# Performing check of ‘services’ …

# Checking services from /etc/services.

–WARN– [inet003w] The port for service postgres is also assigned to service

postgresql.

–WARN– [inet003w] The port for service postgres is also assigned to service

postgresql.

–WARN– [inet003w] The port for service sane is also assigned to service

sane-port.

# Performing NFS exports check…

# Performing check of system file permissions…

# Checking for known intrusion signs…

# Testing for promiscuous interfaces with /bin/ip

# Testing for backdoors in inetd.conf

# Performing check of files in system mail spool…

# Performing check for rookits…

# Performing system specific checks…

# Performing checks for Linux/2…

# Checking for single user-mode password…

# Checking boot loader file permissions…

–WARN– [boot02] The configuration file /boot/grub/menu.lst has group

permissions. Should be 0600

–FAIL– [boot02] The configuration file /boot/grub/menu.lst has world

permissions. Should be 0600

–WARN– [boot06] The Grub bootloader does not have a password configured.

# Checking for vulnerabilities in inittab configuration…

# Checking for correct umask settings for init scripts…

–WARN– [misc021w] There are no umask entries in /etc/init.d/rcS

# Checking Logins not used on the system …

# Checking network configuration

–WARN– [lin012w] The system accepts ICMP redirection messages

–FAIL– [lin013f] The system is not protected against Syn flooding attacks

–FAIL– [lin014f] The system permits the transmission of IP packets with

invalid addresses

–FAIL– [lin016f] The system permits source routing from incoming packets

–WARN– [lin017w] The system is not configured to log suspicious (martian)

packets

–FAIL– [lin019f] The system does not have any local firewall rules

configured

# Verifying system specific password checks…

# Checking OS release…

–WARN– [osv004w] Unreleased Debian GNU/Linux version `lenny/sid’

# Checking installed packages vs Debian Security Advisories…

# Checking md5sums of installed files

–FAIL– [lin005f] Installed file

`/usr/share/alsa/cards/SI7018/sndoc-mixer.alisp’ checksum differs

from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file

`/usr/share/alsa/cards/SI7018/sndop-mixer.alisp’ checksum differs

from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file `/usr/share/alsa/cards/PC-Speaker.conf’

checksum differs from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file `/usr/share/alsa/cards/PMac.conf’ checksum

differs from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file `/usr/share/alsa/cards/PMacToonie.conf’

checksum differs from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file `/usr/share/alsa/pcm/dmix.conf’ checksum

differs from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file `/usr/share/alsa/pcm/dsnoop.conf’ checksum

differs from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file `/usr/share/alsa/sndo-mixer.alisp’ checksum

differs from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file `/usr/share/alsa/smixer.conf’ checksum

differs from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file `/usr/lib/libasound.so.2.0.0′ checksum

differs from installed package ‘libasound2′.

–FAIL– [lin005f] Installed file

`/lib/modules/2.6.22-14-generic/modules.pcimap’ checksum differs from

installed package ‘linux-image-2.6.22-14-generic’.

–FAIL– [lin005f] Installed file `/lib/modules/2.6.22-14-generic/modules.dep’

checksum differs from installed package

‘linux-image-2.6.22-14-generic’.

–FAIL– [lin005f] Installed file

`/lib/modules/2.6.22-14-generic/modules.ieee1394map’ checksum differs

from installed package ‘linux-image-2.6.22-14-generic’.

–FAIL– [lin005f] Installed file

`/lib/modules/2.6.22-14-generic/modules.usbmap’ checksum differs from

installed package ‘linux-image-2.6.22-14-generic’.

–FAIL– [lin005f] Installed file

`/lib/modules/2.6.22-14-generic/modules.isapnpmap’ checksum differs

from installed package ‘linux-image-2.6.22-14-generic’.

–FAIL– [lin005f] Installed file

`/lib/modules/2.6.22-14-generic/modules.inputmap’ checksum differs

from installed package ‘linux-image-2.6.22-14-generic’.

–FAIL– [lin005f] Installed file

`/lib/modules/2.6.22-14-generic/modules.seriomap’ checksum differs

from installed package ‘linux-image-2.6.22-14-generic’.

–FAIL– [lin005f] Installed file

`/lib/modules/2.6.22-14-generic/modules.alias’ checksum differs from

installed package ‘linux-image-2.6.22-14-generic’.

–FAIL– [lin005f] Installed file

`/lib/modules/2.6.22-14-generic/modules.symbols’ checksum differs

from installed package ‘linux-image-2.6.22-14-generic’.

# Checking installed files against packages…

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/snd-pcm.ko’ does

not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/seq/snd-seq-device.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/seq/oss/snd-seq-oss.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/seq/snd-seq.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/seq/snd-seq-midi-event.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/snd-hwdep.ko’ does

not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/oss/snd-pcm-oss.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/oss/snd-mixer-oss.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/snd-timer.ko’ does

not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/snd.ko’ does not

belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/snd-rtctimer.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/acore/snd-page-alloc.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/misc/vboxdrv.ko’ does

not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/volatile/nvidia_new.ko’ does not

belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/volatile/nvidia_legacy.ko’ does not

belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/nvidia.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fxusb.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fwlanusb.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fglrx.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fcusb.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fcpci.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fcdslusba.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fcdslusb2.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fcdslusb.ko’

does not belong to any package.

–WARN– [lin001w] File

`/lib/modules/2.6.22-14-generic/volatile/fcdslslusb.ko’ does not

belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fcdslsl.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fcdsl2.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/fcdsl.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/ath_hal.ko’

does not belong to any package.

–WARN– [lin001w] File `/lib/modules/2.6.22-14-generic/volatile/.mounted’

does not belong to any package.

–WARN– [lin001w] File `/usr/bin/aserver’ does not belong to any package.

# Performing check of root directory…

# Checking device permissions…

–FAIL– [dev002f] /dev/log has world permissions

–WARN– [dev003w] File /dev/sndstat is a regular file in a device directory.

# Checking for existence of log files…

–FAIL– [logf005f] Log file /var/log/btmp permission should be 660

# Checking for correct umask settings…

# Checking listening processes

–WARN– [lin003w] The process `avahi-daemon’ is listening on socket 32768

(UDP on every interface) is run by avahi.

–WARN– [lin003w] The process `avahi-daemon’ is listening on socket 5353 (UDP

on every interface) is run by avahi.

# Checking sshd_config configuration files…

–FAIL– [ssh005w] Cannot find a configuration file for SSH.

# Performing common access checks for root…

–FAIL– [netw020f] There is no /etc/ftpusers file.

# Checking ntpd configuration…

# Checking unusual file names…

# Looking for unusual device files…

–ALERT– [fsys006a] Unexpected device files found:

crw——- 1 root root 5, 1 Oct 16 06:18 /lib/udev/devices/console

crw-r—– 1 root kmem 1, 2 Oct 16 06:18 /lib/udev/devices/kmem

brw——- 1 root root 7, 0 Oct 16 06:18 /lib/udev/devices/loop0

crw——- 1 root root 10, 200 Oct 16 06:18 /lib/udev/devices/net/tun

crw——- 1 root root 1, 3 Oct 16 06:18 /lib/udev/devices/null

crw——- 1 root root 108, 0 Oct 16 06:18 /lib/udev/devices/ppp

lrwxrwxrwx 1 root root 15 Feb 2 17:28 /lib/udev/devices/stderr -> /proc/self/fd/2

# Checking symbolic links…

# Performing check of embedded pathnames…

06:42> Security report completed for toshiba.

Read Full Post »

Description from its manual

hwinfo is used to probe for the hardware present in the system. It can be used to generate a system overview log which can be later used for support.

 

How to install the program?

taufanlubis@zyrex:~$ sudo apt-get install hwinfo

Password:

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following extra packages will be installed:

libhd13

The following NEW packages will be installed:

hwinfo libhd13

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 622kB of archives.

After unpacking 1692kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://archive.ubuntu.com feisty/universe libhd13 13.11-3 [580kB]

Get:2 http://archive.ubuntu.com feisty/universe hwinfo 13.11-3 [41.2kB]

Fetched 622kB in 7s (78.1kB/s)

Selecting previously deselected package libhd13.

(Reading database … 154977 files and directories currently installed.)

Unpacking libhd13 (from …/libhd13_13.11-3_i386.deb) …

Selecting previously deselected package hwinfo.

Unpacking hwinfo (from …/hwinfo_13.11-3_i386.deb) …

Setting up libhd13 (13.11-3) …

 

Setting up hwinfo (13.11-3) …

taufanlubis@zyrex:~$

 

Help file

taufanlubis@zyrex:~$ hwinfo –help

Usage: hwinfo [options]

Probe for hardware.

–short just a short listing

–log logfile write info to logfile

–debug level set debuglevel

–version show libhd version

–dump-db n dump hardware data base, 0: external, 1: internal

–hw_item probe for hw_item

hw_item is one of:

all, bios, block, bluetooth, braille, bridge, camera, cdrom, chipcard, cpu,

disk, dsl, dvb, floppy, framebuffer, gfxcard, hub, ide, isapnp, isdn,

joystick, keyboard, memory, modem, monitor, mouse, netcard, network,

partition, pci, pcmcia, pcmcia-ctrl, pppoe, printer, scanner, scsi, smp,

sound, storage-ctrl, sys, tape, tv, usb, usb-ctrl, vbe, wlan, zip

 

Note: debug info is shown only in the log file. (If you specify a log file the debug level is implicitly set to a reasonable value.)

taufanlubis@zyrex:~$

 

Let’s start.

taufanlubis@zyrex:~$ hwinfo –short

cpu:

Intel(R) Pentium(R) 4 CPU 2.40GHz, 2400 MHz

keyboard:

/dev/input/event1 AT Translated Set 2 keyboard

mouse:

/dev/input/mice Apple Macintosh mouse button emulation

/dev/input/mice PS/2 Mouse

/dev/input/mice AlpsPS/2 ALPS GlidePoint

graphics card:

CLEVO/KAPOK SiS 660

sound:

CLEVO/KAPOK AC’97 Sound Controller

storage:

Floppy disk controller

CLEVO/KAPOK 5513 [IDE]

network:

eth0 CLEVO/KAPOK RTL-8139/8139C/8139C+

modem:

/dev/ttySL0 CLEVO/KAPOK AC’97 Modem Controller

network interface:

lo Loopback network interface

eth0 Ethernet network interface

disk:

/dev/sda SAMSUNG MP0402H

/dev/sdb GENERIC USB Storage-SMC

/dev/sdc GENERIC USB Storage-CFC

/dev/sdd GENERIC USB Storage-MMC

/dev/sde GENERIC USB Storage-MSC

partition:

/dev/sda1 Partition

/dev/sda2 Partition

/dev/sda3 Partition

/dev/sda4 Partition

/dev/sda5 Partition

cdrom:

/dev/sr0 TSSTcorp CDRW/DVD TSL462D

usb controller:

CLEVO/KAPOK USB 1.0 Controller

CLEVO/KAPOK USB 1.0 Controller

CLEVO/KAPOK USB 1.0 Controller

CLEVO/KAPOK USB 2.0 Controller

bios:

BIOS

bridge:

CLEVO/KAPOK 661FX/M661FX/M661MX Host

Silicon Integrated SiS AGP Port (virtual PCI-to-PCI bridge)

Silicon Integrated SiS963 [MuTIOL Media IO]

CLEVO/KAPOK CB1410 Cardbus Controller

hub:

Linux 2.6.20-16-generic ohci_hcd OHCI Host Controller

Linux 2.6.20-16-generic ohci_hcd OHCI Host Controller

Linux 2.6.20-16-generic ohci_hcd OHCI Host Controller

Linux 2.6.20-16-generic ehci_hcd EHCI Host Controller

memory:

Main Memory

firewire controller:

CLEVO/KAPOK FireWire Controller

unknown:

FPU

DMA controller

PIC

Timer

RTC

Keyboard controller

/dev/lp0 Parallel controller

Silicon Integrated SiS961/2 SMBus Controller

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

PnP Unclassified device

Unclassified device

Serial controller

taufanlubis@zyrex:~$

 

Check your modem

taufanlubis@zyrex:~$ hwinfo –modem

16: PCI 02.6: 10204 LinModem (Generic)

[Created at pci.281]

UDI: /org/freedesktop/Hal/devices/pci_1039_7013

Unique ID: AXjq.2_zl0UorD89

SysFS ID: /devices/pci0000:00/0000:00:02.6

SysFS BusID: 0000:00:02.6

Hardware Class: modem

Model: “CLEVO/KAPOK AC’97 Modem Controller”

Vendor: pci 0×1039 “Silicon Integrated Systems Corp.”

Device: pci 0×7013 “AC’97 Modem Controller”

SubVendor: pci 0×1558 “CLEVO/KAPOK Computer”

SubDevice: pci 0×4201

Revision: 0xa0

Device File: /dev/ttySL0

Device Number: char 212:0

I/O Ports: 0×1400-0x14ff (rw)

I/O Ports: 0×1080-0x10ff (rw)

IRQ: 5 (1367 events)

Module Alias: “pci:v00001039d00007013sv00001558sd00004201bc07sc03i00″

Driver Info #0:

Driver Status: slamr is not active

Driver Activation Cmd: “modprobe slamr”

Driver Info #1:

Driver Status: snd_intel8x0m is not active

Driver Activation Cmd: “modprobe snd_intel8x0m”

Driver Info #2:

Driver Status: hsfmc97sis is active

Driver Activation Cmd: “modprobe hsfmc97sis”

Config Status: cfg=new, avail=yes, need=no, active=unknown

taufanlubis@zyrex:~$

 

Check your Sound Card

taufanlubis@zyrex:~$ hwinfo –sound

17: PCI 02.7: 0401 Multimedia audio controller

[Created at pci.281]

UDI: /org/freedesktop/Hal/devices/pci_1039_7012

Unique ID: 1sCg.DueFQE3euaD

SysFS ID: /devices/pci0000:00/0000:00:02.7

SysFS BusID: 0000:00:02.7

Hardware Class: sound

Model: “CLEVO/KAPOK AC’97 Sound Controller”

Vendor: pci 0×1039 “Silicon Integrated Systems Corp.”

Device: pci 0×7012 “AC’97 Sound Controller”

SubVendor: pci 0×1558 “CLEVO/KAPOK Computer”

SubDevice: pci 0×0480

Revision: 0xa0

Driver: “Intel ICH”

Driver Modules: “snd_intel8x0″

I/O Ports: 0x1c00-0x1cff (rw)

I/O Ports: 0×1800-0x187f (rw)

IRQ: 5 (516 events)

Module Alias: “pci:v00001039d00007012sv00001558sd00000480bc04sc01i00″

Driver Info #0:

Driver Status: i810_audio is not active

Driver Activation Cmd: “modprobe i810_audio”

Driver Info #1:

Driver Status: snd_intel8x0 is active

Driver Activation Cmd: “modprobe snd_intel8x0″

Config Status: cfg=new, avail=yes, need=no, active=unknown

taufanlubis@zyrex:~$

Read Full Post »

CPU Specification

taufanlubis@zyrex:~$ cat /proc/cpuinfo

processor : 0

vendor_id : GenuineIntel

cpu family : 15

model : 4

model name : Intel(R) Pentium(R) 4 CPU 2.40GHz

stepping : 1

cpu MHz : 2400.238

cache size : 1024 KB

fdiv_bug : no

hlt_bug : no

f00f_bug : no

coma_bug : no

fpu : yes

fpu_exception : yes

cpuid level : 5

wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc up pni monitor ds_cpl cid xtpr

bogomips : 4804.04

clflush size : 64

 

taufanlubis@zyrex:~$

 

Memory Usage

taufanlubis@zyrex:~$ cat /proc/meminfo

MemTotal: 481420 kB

MemFree: 5640 kB

Buffers: 72200 kB

Cached: 259676 kB

SwapCached: 7980 kB

Active: 228516 kB

Inactive: 216040 kB

HighTotal: 0 kB

HighFree: 0 kB

LowTotal: 481420 kB

LowFree: 5640 kB

SwapTotal: 979956 kB

SwapFree: 971976 kB

Dirty: 8 kB

Writeback: 0 kB

AnonPages: 104716 kB

Mapped: 94236 kB

Slab: 20624 kB

SReclaimable: 9300 kB

SUnreclaim: 11324 kB

PageTables: 2056 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

CommitLimit: 1220664 kB

Committed_AS: 512424 kB

VmallocTotal: 540664 kB

VmallocUsed: 7500 kB

VmallocChunk: 532700 kB

taufanlubis@zyrex:~$

 

Harddisk Partition

 

taufanlubis@zyrex:/proc$ cat partitions

major minor #blocks name

 

8 0 39121488 sda

8 1 10241406 sda1

8 2 1 sda2

8 3 979965 sda3

8 4 12538732 sda4

8 5 15358108 sda5

taufanlubis@zyrex:/proc$

 

Ubuntu Version

taufanlubis@zyrex:~$ cat /proc/version

Linux version 2.6.20-16-generic (root@terranova) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Sep 23 19:50:39 UTC 2007

 

taufanlubis@zyrex:~$ cat /proc/version_signature

Ubuntu 2.6.20-16.32-generic

taufanlubis@zyrex:~$

Read Full Post »

To check the disk space usage in Ubuntu, you can use.

  • du estimate file space usage

  • df report file system disk space usage

 

Note:

-s, –summarize display only a total for each argument

-h, –human-readable print sizes in human readable format (e.g., 1K 234M 2G)

-c, –total produce a grand total

 

 

Check total disk usage (summarized)

taufanlubis@zyrex:~$ du -sh /media/hda5

12G /media/hda5

 

Check total directory usage (summarized)

taufanlubis@zyrex:~$ du -sh /media/hda5/New\ download/

839M /media/hda5/New download/

taufanlubis@zyrex:~$

 

Check directory usage

taufanlubis@zyrex:/media/hda5/New download/drupal$ du -ch

592K ./drupal-5.1/includes

64K ./drupal-5.1/misc/farbtastic

424K ./drupal-5.1/misc

88K ./drupal-5.1/modules/aggregator

56K ./drupal-5.1/modules/block

32K ./drupal-5.1/modules/blog

40K ./drupal-5.1/modules/blogapi

72K ./drupal-5.1/modules/book

24K ./drupal-5.1/modules/color/images

88K ./drupal-5.1/modules/color

112K ./drupal-5.1/modules/comment

48K ./drupal-5.1/modules/contact

48K ./drupal-5.1/modules/drupal

80K ./drupal-5.1/modules/filter

80K ./drupal-5.1/modules/forum

32K ./drupal-5.1/modules/help

24K ./drupal-5.1/modules/legacy

56K ./drupal-5.1/modules/locale

48K ./drupal-5.1/modules/menu

152K ./drupal-5.1/modules/node

32K ./drupal-5.1/modules/path

24K ./drupal-5.1/modules/ping

56K ./drupal-5.1/modules/poll

56K ./drupal-5.1/modules/profile

80K ./drupal-5.1/modules/search

48K ./drupal-5.1/modules/statistics

264K ./drupal-5.1/modules/system

72K ./drupal-5.1/modules/taxonomy

32K ./drupal-5.1/modules/throttle

32K ./drupal-5.1/modules/tracker

56K ./drupal-5.1/modules/upload

136K ./drupal-5.1/modules/user

40K ./drupal-5.1/modules/watchdog

2.0M ./drupal-5.1/modules

16K ./drupal-5.1/profiles/default

24K ./drupal-5.1/profiles

40K ./drupal-5.1/scripts

16K ./drupal-5.1/sites/all

16K ./drupal-5.1/sites/default

40K ./drupal-5.1/sites

72K ./drupal-5.1/themes/bluemarine

48K ./drupal-5.1/themes/chameleon/marvin

104K ./drupal-5.1/themes/chameleon

64K ./drupal-5.1/themes/engines/phptemplate

72K ./drupal-5.1/themes/engines

80K ./drupal-5.1/themes/garland/color

120K ./drupal-5.1/themes/garland/images

72K ./drupal-5.1/themes/garland/minnelli/color

104K ./drupal-5.1/themes/garland/minnelli

408K ./drupal-5.1/themes/garland

288K ./drupal-5.1/themes/pushbutton

952K ./drupal-5.1/themes

4.2M ./drupal-5.1

39M .

39M total

taufanlubis@zyrex:/media/hda5/New download/drupal$

 

Check disk space available

taufanlubis@zyrex:~$ df -h

Filesystem Size Used Avail Use% Mounted on

/dev/sda4 12G 5.0G 6.2G 45% /

varrun 236M 128K 235M 1% /var/run

varlock 236M 0 236M 0% /var/lock

procbususb 236M 136K 235M 1% /proc/bus/usb

udev 236M 136K 235M 1% /dev

devshm 236M 0 236M 0% /dev/shm

lrm 236M 33M 203M 15% /lib/modules/2.6.20-16-generic/volatile

/dev/sda5 15G 12G 2.9G 81% /media/hda5

taufanlubis@zyrex:~$

 

taufanlubis@zyrex:~$ df -h /media/hda5

Filesystem Size Used Avail Use% Mounted on

/dev/sda5 15G 12G 2.9G 81% /media/hda5

taufanlubis@zyrex:~$

Read Full Post »

Follow

Get every new post delivered to your Inbox.

Join 69 other followers