Skip to content

Instantly share code, notes, and snippets.

@w0ng
Created July 13, 2012 22:13
Show Gist options
  • Save w0ng/3107896 to your computer and use it in GitHub Desktop.
Save w0ng/3107896 to your computer and use it in GitHub Desktop.
$ systemd-analyze
Startup finished in 3671ms (kernel) + 3101ms (userspace) = 6773ms
================================================================================
$ systemd-analyze blame
2143ms psd.service
510ms mnt-data1.mount
458ms mnt-data0.mount
118ms systemd-remount-fs.service
113ms systemd-udev-trigger.service
111ms sys-kernel-debug.mount
105ms dev-hugepages.mount
91ms avahi-daemon.service
82ms systemd-vconsole-setup.service
81ms dev-mqueue.mount
76ms systemd-sysctl.service
62ms network.service
41ms systemd-logind.service
33ms sys-fs-fuse-connections.mount
26ms systemd-user-sessions.service
23ms tmp.mount
23ms systemd-tmpfiles-setup.service
20ms mnt-scratch.mount
18ms systemd-udev.service
12ms var.mount
6ms boot.mount
5ms home.mount
1ms proc-sys-fs-binfmt_misc.mount
================================================================================
# gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 234441648 sectors, 111.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): E895A2B0-0ADD-40E1-9B95-93C0328FEE49
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 234441614
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 6143 2.0 MiB EF02 BIOS boot partition
2 6144 210943 100.0 MiB 8300 Linux filesystem
3 210944 31668223 15.0 GiB 8300 Linux filesystem
4 31668224 52639743 10.0 GiB 8300 Linux filesystem
5 52639744 234441614 86.7 GiB 8300 Linux filesystem
================================================================================
$ df -h
rootfs 15G 2.7G 12G 19% /
dev 2.0G 0 2.0G 0% /dev
run 2.0G 1.7M 2.0G 1% /run
/dev/sda3 15G 2.7G 12G 19% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 2.0G 107M 1.9G 6% /tmp
/dev/sda4 10G 797M 8.7G 9% /var
/dev/sda2 96M 25M 66M 28% /boot
/dev/sda5 87G 1.8G 81G 3% /home
/dev/sdc3 496G 127G 345G 27% /mnt/scratch
/dev/sdd1 931G 866G 65G 94% /mnt/data0
/dev/sdb1 932G 886G 46G 96% /mnt/data1
================================================================================
$ cat /etc/fstab
#
# /etc/fstab: static file system information
#
#
tmpfs /tmp tmpfs nodev,nosuid 0 0
UUID=135a6329-6ad7-4f21-b6fd-cf5d0214a883 / ext4 defaults,noatime 0 1
UUID=26a360c1-ae32-4d5e-bdc8-62a7da2f4b68 /home ext4 defaults,noatime,discard 0 2
UUID=80b772ef-2433-45df-9dd4-d6031ee52830 /var ext4 defaults,noatime,discard 0 2
UUID=844a84e8-c615-4ce3-83ff-7d9b2c02259c /boot ext2 defaults,noatime,discard 0 2
UUID=debae953-cd9c-4dc3-b0a8-14b10e939fe9 /mnt/scratch ext4 defaults 0 2
UUID=688AC9C28AC98D4E /mnt/data0 ntfs-3g gid=users,fmask=113,dmask=002 0 0
UUID=0697E4772E7FF527 /mnt/data1 ntfs-3g gid=users,fmask=113,dmask=002 0 0
================================================================================
$ ls -l ~
total 16K
drwxr-xr-x 3 w0ng users 4.0K 10-07-12 03:41 bin/
drwxr-xr-x 2 w0ng users 4.0K 10-07-12 08:48 code/
drwxr-xr-x 2 w0ng users 4.0K 11-07-12 12:03 documents/
drwxr-xr-x 6 w0ng users 4.0K 11-07-12 14:18 dotfiles/
lrwxrwxrwx 1 w0ng users 10 09-07-12 18:58 data0 -> /mnt/data0/
lrwxrwxrwx 1 w0ng users 10 09-07-12 18:58 data1 -> /mnt/data1/
lrwxrwxrwx 1 w0ng users 22 09-07-12 19:36 downloads -> /mnt/scratch/downloads/
lrwxrwxrwx 1 w0ng users 21 09-07-12 09:38 dropbox -> .db-container/Dropbox/
lrwxrwxrwx 1 w0ng users 18 09-07-12 19:36 music -> /mnt/scratch/music/
lrwxrwxrwx 1 w0ng users 21 09-07-12 19:36 pictures -> /mnt/scratch/pictures/
lrwxrwxrwx 1 w0ng users 19 09-07-12 19:36 videos -> /mnt/scratch/videos/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment