Demo entry 5994548

SA_Assignment_3

   

Submitted by anonymous on Sep 14, 2016 at 00:48
Language: Bash Session. Code size: 16.5 kB.

Script started on Wed Sep 14 03:55:27 2016
________________________________________________________________________________
| ~ @ Mriduls-MacBook-Pro (mridul) 
| => ssh erp@muc.iiitd.edu.in
erp@muc.iiitd.edu.in's password: 
Permission denied, please try again.
erp@muc.iiitd.edu.in's password: 
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-93-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Wed Sep 14 03:54:55 IST 2016

  System load:  0.03              Processes:             223
  Usage of /:   45.7% of 1.86TB   Users logged in:       1
  Memory usage: 12%               IP address for eth0:   192.168.1.15
  Swap usage:   0%                IP address for virbr0: 192.168.122.1

  Graph this data and manage this system at:
    https://landscape.canonical.com/

38 packages can be updated.
20 updates are security updates.

New release '16.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

*** System restart required ***
Last login: Wed Sep 14 03:54:56 2016 from 192.168.66.4
erp@muc:~$ 
erp@muc:~$ df --total | tail -1 | awk '{print "Total Space = ",$2,"KB\nUsed Space = ",$3,"KB\nAvailable Space = ",$4,"KB.\nDifference between the Total Space and Used+Available Space is ",$2-$3-$4,"KB."}'Total Space =  2013254456 KB
Used Space =  913115500 KB
Available Space =  998540084 KB.
Difference between the Total Space and Used+Available Space is  101598872 KB.
erp@muc:~$ 
erp@muc:~$ df -T | awk 'BEGIN {OFS="\t"} NR==1 || NR==4{print $1,$7} NR!=1 && NR!=4{print $1,"",$7}'
Filesystem  Mounted
udev        /dev
tmpfs       /run
/dev/sda2   /
none        /sys/fs/cgroup
none        /run/lock
none        /run/shm
none        /run/user
erp@muc:~$ 
erp@muc:~$ df -T | awk 'BEGIN {OFS="\t"} NR==1 || NR==4{print $1,$7} NR!=1 && NR!=4{print $1,"",$7}' ; free | grep Swap | awk ' $2==0{print "Swap Partition Status: No Swap Partition present"} $2!=0{print "Swap Partition Status: There is a Swap Partition present"}'
Filesystem  Mounted
udev        /dev
tmpfs       /run
/dev/sda2   /
none        /sys/fs/cgroup
none        /run/lock
none        /run/shm
none        /run/user
Swap Partition Status: No Swap Partition present
erp@muc:~$ 
erp@muc:~$ cat /proc/meminfo 
MemTotal:       12293876 kB
MemFree:         5083752 kB
Buffers:          854220 kB
Cached:          4842436 kB
SwapCached:            0 kB
Active:          1498012 kB
Inactive:        5244688 kB
Active(anon):    1052280 kB
Inactive(anon):     6596 kB
Active(file):     445732 kB
Inactive(file):  5238092 kB
Unevictable:        3600 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                84 kB
Writeback:             0 kB
AnonPages:       1049644 kB
Mapped:            37412 kB
Shmem:              9232 kB
Slab:             323020 kB
SReclaimable:     281528 kB
SUnreclaim:        41492 kB
KernelStack:        9304 kB
PageTables:        26124 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     6146936 kB
Committed_AS:    8145832 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      304576 kB
VmallocChunk:   34359414028 kB
HardwareCorrupted:     0 kB
AnonHugePages:    690176 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      108416 kB
DirectMap2M:    12464128 kB
erp@muc:~$ 
erp@muc:~$ pstree -A
init-+-ModemManager---2*[{ModemManager}]
     |-NetworkManager-+-dhclient
     |                `-3*[{NetworkManager}]
     |-acpid
     |-apache2-+-10*[apache2]
     |         `-10*[apache2---77*[{apache2}]]
     |-atd
     |-avahi-daemon---avahi-daemon
     |-bluetoothd
     |-console-kit-dae---64*[{console-kit-dae}]
     |-cron
     |-cups-browsed
     |-cupsd
     |-dbus-daemon
     |-9*[dnotify]
     |-dnsmasq
     |-6*[getty]
     |-inetd
     |-java---20*[{java}]
     |-kerneloops
     |-libvirtd---10*[{libvirtd}]
     |-mdadm
     |-mysqld---23*[{mysqld}]
     |-named---6*[{named}]
     |-nscd---9*[{nscd}]
     |-ntpd
     |-osspd---11*[{osspd}]
     |-plymouth-upstar
     |-plymouthd
     |-polkitd---2*[{polkitd}]
     |-rsyslogd---3*[{rsyslogd}]
     |-4*[screen---bash]
     |-screen---bash---screen
     |-2*[screen---2*[bash]]
     |-sendmail-mta
     |-smsd---smsd
     |-sshd---sshd---sshd---bash---pstree
     |-systemd-logind
     |-systemd-udevd
     |-upstart-file-br
     |-upstart-socket-
     |-upstart-udev-br
     |-vmware-authdlau
     |-vmware-usbarbit
     |-vmware-vmblock----2*[{vmware-vmblock-}]
     |-whoopsie---2*[{whoopsie}]
     |-wicd---wicd-monitor
     |-xdm-+-Xorg
     |     `-xdm
     |-xrdp
     `-xrdp-sesman
erp@muc:~$ 
erp@muc:~$ lspci -vmm
Slot:   00:00.0
Class:  Host bridge
Vendor: Intel Corporation
Device: 5520 I/O Hub to ESI Port
SVendor:    IBM
SDevice:    Device 7270
Rev:    13

Slot:   00:01.0
Class:  PCI bridge
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub PCI Express Root Port 1
Rev:    13

Slot:   00:03.0
Class:  PCI bridge
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub PCI Express Root Port 3
Rev:    13

Slot:   00:05.0
Class:  PCI bridge
Vendor: Intel Corporation
Device: 5520/X58 I/O Hub PCI Express Root Port 5
Rev:    13

Slot:   00:07.0
Class:  PCI bridge
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub PCI Express Root Port 7
Rev:    13

Slot:   00:08.0
Class:  PCI bridge
Vendor: Intel Corporation
Device: 5520/5500/X58 I/O Hub PCI Express Root Port 8
Rev:    13

Slot:   00:09.0
Class:  PCI bridge
Vendor: Intel Corporation
Device: 7500/5520/5500/X58 I/O Hub PCI Express Root Port 9
Rev:    13

Slot:   00:10.0
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500/X58 Physical and Link Layer Registers Port 0
Rev:    13

Slot:   00:10.1
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500/X58 Routing and Protocol Layer Registers Port 0
Rev:    13

Slot:   00:11.0
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500 Physical and Link Layer Registers Port 1
Rev:    13

Slot:   00:11.1
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500 Routing & Protocol Layer Register Port 1
Rev:    13

Slot:   00:14.0
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500/X58 I/O Hub System Management Registers
Rev:    13

Slot:   00:14.1
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers
Rev:    13

Slot:   00:14.2
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500/X58 I/O Hub Control Status and RAS Registers
Rev:    13

Slot:   00:14.3
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500/X58 I/O Hub Throttle Registers
Rev:    13

Slot:   00:15.0
Class:  PIC
Vendor: Intel Corporation
Device: 7500/5520/5500/X58 Trusted Execution Technology Registers
Rev:    13
ProgIf: 20

Slot:   00:16.0
Class:  System peripheral
Vendor: Intel Corporation
Device: 5520/5500/X58 Chipset QuickData Technology Device
SVendor:    IBM
SDevice:    Device 3430
Rev:    13

Slot:   00:16.1
Class:  System peripheral
Vendor: Intel Corporation
Device: 5520/5500/X58 Chipset QuickData Technology Device
SVendor:    IBM
SDevice:    Device 3431
Rev:    13

Slot:   00:16.2
Class:  System peripheral
Vendor: Intel Corporation
Device: 5520/5500/X58 Chipset QuickData Technology Device
SVendor:    IBM
SDevice:    Device 3432
Rev:    13

Slot:   00:16.3
Class:  System peripheral
Vendor: Intel Corporation
Device: 5520/5500/X58 Chipset QuickData Technology Device
SVendor:    IBM
SDevice:    Device 3433
Rev:    13

Slot:   00:16.4
Class:  System peripheral
Vendor: Intel Corporation
Device: 5520/5500/X58 Chipset QuickData Technology Device
SVendor:    IBM
SDevice:    Device 3429
Rev:    13

Slot:   00:16.5
Class:  System peripheral
Vendor: Intel Corporation
Device: 5520/5500/X58 Chipset QuickData Technology Device
SVendor:    IBM
SDevice:    Device 342a
Rev:    13

Slot:   00:16.6
Class:  System peripheral
Vendor: Intel Corporation
Device: 5520/5500/X58 Chipset QuickData Technology Device
SVendor:    IBM
SDevice:    Device 342b
Rev:    13

Slot:   00:16.7
Class:  System peripheral
Vendor: Intel Corporation
Device: 5520/5500/X58 Chipset QuickData Technology Device
SVendor:    IBM
SDevice:    Device 342c
Rev:    13

Slot:   00:1a.0
Class:  USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #4
SVendor:    IBM
SDevice:    Device 3a37

Slot:   00:1a.1
Class:  USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #5
SVendor:    IBM
SDevice:    Device 3a38

Slot:   00:1a.7
Class:  USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB2 EHCI Controller #2
SVendor:    IBM
SDevice:    Device 3a3c
ProgIf: 20

Slot:   00:1c.0
Class:  PCI bridge
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) PCI Express Root Port 1

Slot:   00:1c.4
Class:  PCI bridge
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) PCI Express Root Port 5

Slot:   00:1d.0
Class:  USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #1
SVendor:    IBM
SDevice:    Device 3a34

Slot:   00:1d.1
Class:  USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #2
SVendor:    IBM
SDevice:    Device 3a35

Slot:   00:1d.2
Class:  USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB UHCI Controller #3
SVendor:    IBM
SDevice:    Device 3a36

Slot:   00:1d.7
Class:  USB controller
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) USB2 EHCI Controller #1
SVendor:    IBM
SDevice:    Device 3a3a
ProgIf: 20

Slot:   00:1e.0
Class:  PCI bridge
Vendor: Intel Corporation
Device: 82801 PCI Bridge
Rev:    90
ProgIf: 01

Slot:   00:1f.0
Class:  ISA bridge
Vendor: Intel Corporation
Device: 82801JIB (ICH10) LPC Interface Controller
SVendor:    IBM
SDevice:    Device 3a18

Slot:   00:1f.2
Class:  IDE interface
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
SVendor:    IBM
SDevice:    Device 3a20
ProgIf: 8f

Slot:   00:1f.3
Class:  SMBus
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) SMBus Controller
SVendor:    IBM
SDevice:    Device 3a30

Slot:   00:1f.5
Class:  IDE interface
Vendor: Intel Corporation
Device: 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
SVendor:    IBM
SDevice:    Device 3a26
ProgIf: 85

Slot:   06:00.0
Class:  PCI bridge
Vendor: Vitesse Semiconductor
Device: VSC452 [SuperBMC]
Rev:    01

Slot:   07:00.0
Class:  VGA compatible controller
Vendor: Matrox Electronics Systems Ltd.
Device: MGA G200EV
SVendor:    IBM
SDevice:    Device 0369

Slot:   0b:00.0
Class:  Ethernet controller
Vendor: Broadcom Corporation
Device: NetXtreme II BCM5709 Gigabit Ethernet
SVendor:    IBM
SDevice:    Device 03b5
Rev:    20

Slot:   0b:00.1
Class:  Ethernet controller
Vendor: Broadcom Corporation
Device: NetXtreme II BCM5709 Gigabit Ethernet
SVendor:    IBM
SDevice:    Device 03b5
Rev:    20

Slot:   10:00.0
Class:  RAID bus controller
Vendor: LSI Logic / Symbios Logic
Device: MegaRAID SAS 2108 [Liberator]
SVendor:    IBM
SDevice:    Device 03c7
Rev:    03

Slot:   fe:00.0
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 QuickPath Architecture Generic Non-Core Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:00.1
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 QuickPath Architecture System Address Decoder
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:02.0
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 QPI Link 0
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:02.1
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 QPI Physical 0
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:02.4
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 QPI Link 1
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:02.5
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 QPI Physical 1
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:03.0
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:03.1
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Target Address Decoder
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:03.2
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller RAS Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:03.4
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Test Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:04.0
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Control Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:04.1
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Address Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:04.2
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Rank Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:04.3
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 0 Thermal Control Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:05.0
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Control Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:05.1
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Address Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:05.2
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Rank Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:05.3
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 1 Thermal Control Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:06.0
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Control Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:06.1
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Address Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:06.2
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Rank Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

Slot:   fe:06.3
Class:  Host bridge
Vendor: Intel Corporation
Device: Xeon 5500/Core i7 Integrated Memory Controller Channel 2 Thermal Control Registers
SVendor:    Intel Corporation
SDevice:    Device 8086
Rev:    05

erp@muc:~$ 
erp@muc:~$ logout
Connection to muc.iiitd.edu.in closed.
________________________________________________________________________________
| ~ @ Mriduls-MacBook-Pro (mridul) 
| => exit
exit

Script done, output file is SA_Assignment_3.sh

Script done on Wed Sep 14 03:57:01 2016

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).