Понедельник (12/17/18)

/dev/pts/2
10:47:01
$su
Password:
root@m1:/home/user# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            3.8G     0  3.8G   0% /dev
tmpfs           779M  9.3M  770M   2% /run
/dev/sda1       450G  4.2G  423G   1% /
tmpfs           3.9G  6.2M  3.8G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs           779M   16K  779M   1% /run/user/117
tmpfs           779M   36K  779M   1% /run/user/1001
root@m1:/home/user# cd..
bash: cd..: command not found
root@m1:/home/user# cd
root@m1:~# hdparm -tT /dev/sda
/dev/sda:
 Timing cached reads:   9624 MB in  2.00 seconds = 4819.80 MB/sec
 Timing buffered disk reads: 350 MB in  3.01 seconds = 116.09 MB/sec
root@m1:~# hostname
m1
root@m1:~# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0   458G  0 part /
├─sda2   8:2    0     1K  0 part
└─sda5   8:5    0   7.8G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom
root@m1:~# sudo apt-get install bonie++
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bonie+
E: Couldn't find any package by regex 'bonie+'
root@m1:~# apt-get install bonie++
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bonie+
E: Couldn't find any package by regex 'bonie+'
root@m1:~# apt-get install bonnie++
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  bonnie++
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 61.4 kB of archives.
After this operation, 187 kB of additional disk space will be used.
Get:1 http://ftp.by.debian.org/debian stretch/main amd64 bonnie++ amd64 1.97.3 [61.4 kB]
Fetched 61.4 kB in 0s (0 B/s)
Selecting previously unselected package bonnie++.
(Reading database ... 135985 files and directories currently installed.)
Preparing to unpack .../bonnie++_1.97.3_amd64.deb ...
Unpacking bonnie++ (1.97.3) ...
Setting up bonnie++ (1.97.3) ...
Processing triggers for man-db (2.7.6.1-2) ...
root@m1:~# bonnie++
You must use the "-u" switch when running as root.
usage:
bonnie++ [-d scratch-dir] [-c concurrency] [-s size(MiB)[:chunk-size(b)]]
      [-n number-to-stat[:max-size[:min-size][:num-directories[:chunk-size]]]]
      [-m machine-name] [-r ram-size-in-MiB]
      [-x number-of-tests] [-u uid-to-use:gid-to-use] [-g gid-to-use]
      [-q] [-f] [-b] [-p processes | -y] [-z seed | -Z random-file]
      [-D]
Version: 1.97
root@m1:~# exit
exit