
17.06.2015, 13:44
|
|
Познающий
Регистрация: 29.05.2015
Сообщений: 39
С нами:
5768246
Репутация:
7
|
|
Код:
$ uname -a
FreeBSD сайт 7.4-RELEASE-p7 FreeBSD 7.4-RELEASE-p7 #3: Fri May 4 12:59:48 YEKT 2012 alex@ сайт:/usr/obj/usr/src/sys/сайт i386
$ ls -la /boot
total 3328
drwxr-xr-x 12 root wheel 1024 Aug 4 2013 .
drwxr-xr-x 22 root wheel 512 May 14 2012 ..
drwxr-xr-x 2 root wheel 28672 Feb 17 2011 GENERIC
-r--r--r-- 1 root wheel 7689 May 14 2012 beastie.4th
-r--r--r-- 1 root wheel 8192 May 14 2012 boot
-r--r--r-- 1 root wheel 512 May 14 2012 boot0
-r--r--r-- 1 root wheel 512 May 14 2012 boot0sio
-r--r--r-- 1 root wheel 512 May 14 2012 boot1
-r--r--r-- 1 root wheel 7680 May 14 2012 boot2
-r--r--r-- 1 root wheel 1201 May 14 2012 cdboot
drwxr-xr-x 2 root wheel 512 May 14 2012 defaults
-r--r--r-- 1 root wheel 1746 Feb 17 2011 device.hints
drwxr-xr-x 2 root wheel 512 Feb 17 2011 firmware
-r--r--r-- 1 root wheel 2258 May 14 2012 frames.4th
-r--r--r-- 1 root wheel 7567 May 14 2012 gptboot
-r--r--r-- 1 root wheel 26259 May 14 2012 gptzfsboot
drwxr-xr-x 2 root wheel 12288 Aug 5 2013 kernel
drwxr-xr-x 2 root wheel 28672 Mar 30 2011 kernel.GENERIC
drwxr-xr-x 2 root wheel 512 Aug 3 2013 kernel.сайт
drwxr-xr-x 2 root wheel 12288 Aug 5 2013 kernel.modules
drwxr-xr-x 2 root wheel 512 May 14 2012 kernel.old
-r-xr-xr-x 1 root wheel 253952 May 14 2012 loader
-r--r--r-- 1 root wheel 5865 May 14 2012 loader.4th
-rw-r--r-- 1 root wheel 18 Mar 30 2011 loader.conf
-rw-r--r-- 1 root wheel 17 Mar 30 2011 loader.conf.old
-r--r--r-- 1 root wheel 15219 May 14 2012 loader.help
-r-xr-xr-x 1 root wheel 253952 Dec 30 2011 loader.old
-r--r--r-- 1 root wheel 392 Feb 17 2011 loader.rc
-r--r--r-- 1 root wheel 512 May 14 2012 mbr
drwxr-xr-x 2 root wheel 512 Feb 17 2011 modules
-r--r--r-- 1 root wheel 512 May 14 2012 pmbr
-r--r--r-- 1 root wheel 256000 May 14 2012 pxeboot
-r--r--r-- 1 root wheel 699 May 14 2012 screen.4th
-r--r--r-- 1 root wheel 35136 May 14 2012 support.4th
drwxr-xr-x 2 root wheel 512 Feb 17 2011 zfs
-r--r--r-- 1 root wheel 33280 May 14 2012 zfsboot
-r-xr-xr-x 1 root wheel 274432 May 14 2012 zfsloader
-r-xr-xr-x 1 root wheel 274432 Dec 30 2011 zfsloader.old
$ mount
/dev/mfid0a on / (ufs, local, noatime, soft-updates)
devfs on /dev (devfs, local)
/dev/mfid0e on /usr/local (ufs, local, noatime, soft-updates)
/dev/mfid0d on /usr (ufs, local, noatime, soft-updates)
/dev/mfid0f on /var (ufs, local, noatime, soft-updates)
/dev/mfid0g on /mail (ufs, local, noatime, soft-updates)
/dev/mfid0h on /local (ufs, local, noatime, soft-updates)
/dev/mfid1s1d on /opt (ufs, local, noatime)
/dev/mfid1s1e on /backup (ufs, local, noatime)
/dev/md0 on /local/www/сайт/cache (ufs, asynchronous, local, noexec, nosuid)
$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/mfid0a 1.9G 419M 1.4G 23% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/mfid0e 4.8G 4.0K 4.5G 0% /usr/local
/dev/mfid0d 4.8G 4.4G 85M 98% /usr
/dev/mfid0f 48G 40G 4.8G 89% /var
/dev/mfid0g 194G 127G 51G 71% /mail
/dev/mfid0h 315G 225G 65G 78% /local
/dev/mfid1s1d 291G 28G 240G 10% /opt
/dev/mfid1s1e 286G 246G 17G 94% /backup
/dev/md0 31M 274K 28M 1% /local/www/сайт/cache
$ cat /etc/crontab
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32.24.1.4.1 2010/12/21 17:10:29 kensmith Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
#
#minute hour mday month wday who command
#
*/5 * * * * root /usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11 * * * * operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0 * * * * root newsyslog
#
# Perform daily/weekly/monthly maintenance.
1 3 * * * root periodic daily
15 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time. See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz –a
$ ls -la /libexec
total 736
drwxr-xr-x 2 root wheel 512 May 14 2012 .
drwxr-xr-x 22 root wheel 512 May 14 2012 ..
-r-xr-xr-x 1 root wheel 180896 Dec 30 2011 ld-elf.so.1
-r-xr-xr-x 1 root wheel 189184 Feb 17 2011 ld-elf.so.1.old
$ ps axfu
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
www 95411 42.9 1.2 54276 41460 ?? S 1:32PM 6:07.03 /usr/local/sbin/ht
www 5177 25.5 2.2 100356 74032 ?? R 2:32PM 0:18.89 /usr/local/sbin/ht
www 90963 8.9 1.2 54532 41976 ?? S 1:03PM 8:25.48 /usr/local/sbin/ht
www 95403 8.4 1.2 54276 41800 ?? R 1:32PM 5:43.07 /usr/local/sbin/ht
www 88613 8.3 1.2 54532 41816 ?? S 12:49PM 10:15.64 /usr/local/sbin/ht
www 5696 7.9 0.1 3756 2668 ?? S 2:35PM 0:00.02 sendmail: ./t5H9Zj
www 5695 7.8 0.0 3460 1144 ?? S 2:35PM 0:00.00 sh -c /usr/sbin/se
www 94821 7.8 1.2 55300 41244 ?? S 1:28PM 6:21.93 /usr/local/sbin/ht
www 96019 7.6 1.2 54276 41068 ?? S 1:36PM 5:11.63 /usr/local/sbin/ht
www 95914 7.5 1.2 54276 41184 ?? S 1:35PM 5:31.22 /usr/local/sbin/ht
www 5458 7.1 0.8 40964 26572 ?? S 2:34PM 0:07.37 /usr/local/sbin/ht
www 95698 6.6 1.2 53252 40632 ?? S 1:34PM 5:23.52 /usr/local/sbin/ht
www 5689 3.8 0.7 39940 22140 ?? S 2:35PM 0:00.56 /usr/local/sbin/ht
www 914 3.6 0.2 8192 6688 ?? R 22May15 1399:37.78 nginx: worker proc
www 913 2.9 0.2 9216 7344 ?? S 22May15 1401:01.32 nginx: worker proc
www 95287 2.8 1.3 55300 42616 ?? R 1:31PM 6:12.23 /usr/local/sbin/ht
www 5692 1.6 0.6 39940 20212 ?? S 2:35PM 0:00.23 /usr/local/sbin/ht
www 932 0.0 0.3 36776 10456 ?? I 22May15 0:00.21 /usr/local/sbin/ht
www 5702 0.0 0.0 3460 1144 ?? S 2:35PM 0:00.00 sh -c ps axfu
www 5703 0.0 0.0 3244 944 ?? R 2:35PM 0:00.00 ps axfu
www 20314 0.0 0.0 0 0 ?? Z Mon09AM 0:00.00
www 42814 0.0 0.0 0 0 ?? Z Sun11PM 0:00.00
www 50717 0.0 0.0 3460 1100 ?? I 8Jun15 0:00.01 /bin/sh -i
www 52999 0.0 0.0 3128 700 ?? I 8Jun15 0:02.89 tail -f pureftpd.l
www 58328 0.0 0.0 0 0 ?? Z Sun12PM 0:00.05
www 89316 0.0 0.0 0 0 ?? Z 3:28PM 0:00.00
ls -la /tmp
total 1280
drwxrwxrwt 10 root wheel 3072 Jun 17 14:39 .
drwxr-xr-x 22 root wheel 512 May 14 2012 ..
drwxrwxrwt 2 root wheel 512 May 22 17:34 .ICE-unix
drwxrwxrwt 2 root wheel 512 May 22 17:34 .X11-unix
drwxrwxrwt 2 root wheel 512 May 22 17:34 .XIM-unix
drwxrwxrwt 2 root wheel 512 May 22 17:34 .font-unix
-rw------- 1 spamassasin wheel 7221 Nov 25 2013 .spamassassin12210SilOHtmp
drwx------ 3 www www 512 Dec 19 2011 fast
prw------- 1 root wheel 0 Mar 30 2011 make_fifo_VRxkXE6sJ
drwx------ 2 alex wheel 512 Nov 15 2012 mc-alex
drwx------ 2 root wheel 512 Jun 2 11:22 mc-root
-rw-r--r-- 1 www wheel 0 Jun 8 15:53 overwrites
-rw------- 1 root wheel 36 Jun 23 2011 periodic.slLwSSsz08
-rw------- 1 root wheel 48 Jun 23 2011 periodic.vODgX3C8Hg
drwxr-xr-x 3 root wheel 512 Apr 9 2011 screens
-rw------- 1 root wheel 0 Jun 23 2011 security.MxksURwR
$ id
uid=80(www) gid=80(www) groups=80(www)
|
|
|