Показать сообщение отдельно

  #6  
Старый 22.12.2015, 21:30
Vip77
Участник форума
Регистрация: 29.09.2012
Сообщений: 233
Провел на форуме:
46989

Репутация: 20
По умолчанию

Есть что под сие?

uname -a

Код:
Linux ***.com 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ls -la /boot

Код:
total 43336
dr-xr-xr-x.  4 root root  4096 Oct 14  2014 .
dr-xr-xr-x. 22 root root  4096 Oct  8 03:44 ..
-rw-r--r--.  1 root root  171 Sep  9  2014 .vmlinuz-2.6.32-431.29.2.el6.x86_64.hmac
-rw-r--r--.  1 root root  166 Nov 21  2013 .vmlinuz-2.6.32-431.el6.x86_64.hmac
-rw-r--r--.  1 root root  2519815 Sep  9  2014 System.map-2.6.32-431.29.2.el6.x86_64
-rw-r--r--.  1 root root  2518236 Nov 21  2013 System.map-2.6.32-431.el6.x86_64
-rw-r--r--.  1 root root  105200 Sep  9  2014 config-2.6.32-431.29.2.el6.x86_64
-rw-r--r--.  1 root root  105195 Nov 21  2013 config-2.6.32-431.el6.x86_64
drwxr-xr-x.  3 root root  4096 Oct 13  2014 efi
drwxr-xr-x.  2 root root  4096 Oct 14  2014 grub
-rw-------.  1 root root 15220904 Oct 14  2014 initramfs-2.6.32-431.29.2.el6.x86_64.img
-rw-------.  1 root root 15216205 Oct 13  2014 initramfs-2.6.32-431.el6.x86_64.img
-rw-r--r--.  1 root root  193945 Sep  9  2014 symvers-2.6.32-431.29.2.el6.x86_64.gz
-rw-r--r--.  1 root root  193758 Nov 21  2013 symvers-2.6.32-431.el6.x86_64.gz
-rwxr-xr-x.  1 root root  4131984 Sep  9  2014 vmlinuz-2.6.32-431.29.2.el6.x86_64
-rwxr-xr-x.  1 root root  4128368 Nov 21  2013 vmlinuz-2.6.32-431.el6.x86_64
ls -la --full-time /lib

Код:
total 32
dr-xr-xr-x.  8 root root 4096 2014-10-15 04:08:41.135969938 -0400 .
dr-xr-xr-x. 22 root root 4096 2015-10-08 03:44:57.976293544 -0400 ..
lrwxrwxrwx  1 root root  14 2014-10-15 04:08:41.135969938 -0400 cpp -> ../usr/bin/cpp
drwxr-xr-x. 42 root root 4096 2014-10-14 12:23:53.729344301 -0400 firmware
drwxr-xr-x.  6 root root 4096 2014-10-13 09:33:41.365999951 -0400 kbd
dr-xr-xr-x.  4 root root 4096 2014-10-14 12:24:20.285344296 -0400 modules
drwxr-xr-x.  2 root root 4096 2013-11-22 09:06:19.000000000 -0500 security
drwxr-xr-x.  6 root root 4096 2014-10-13 09:31:54.435999970 -0400 terminfo
drwxr-xr-x.  5 root root 4096 2014-10-14 12:24:19.398344296 -0400 udev


mount


Код:
/dev/sda1 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda8 on /home type ext4 (rw)
/dev/sda5 on /tmp type ext4 (rw)
/dev/sda6 on /usr type ext4 (rw)
/dev/sda7 on /usr/local type ext4 (rw)
/dev/sda3 on /var type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
tmpfs on /mnt/ram type tmpfs (rw,size=20m)


df -h


Код:
Filesystem  Size  Used Avail Use% Mounted on
/dev/sda1  16G  828M  15G  6% /
tmpfs  7.8G  0  7.8G  0% /dev/shm
/dev/sda8  412G  25G  367G  7% /home
/dev/sda5  16G  232M  15G  2% /tmp
/dev/sda6  16G  817M  15G  6% /usr
/dev/sda7  16G  7.6G  7.4G  51% /usr/local
/dev/sda3  60G  4.6G  52G  9% /var
tmpfs  20M  7.3M  13M  37% /mnt/ram
cat /etc/issue

Код:
CentOS release 6.5 (Final)
Kernel \r on an \m


cat /etc/crontab


Код:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# For details see man 4 crontabs

# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name command to be executed
ls -la /etc/cron.d

Код:
total 20
drwxr-xr-x.  2 root root 4096 Oct 15  2014 .
drwxr-xr-x. 71 root root 4096 Oct  8 04:27 ..
-rw-r--r--.  1 root root  113 Nov 23  2013 0hourly
-rw-r--r--.  1 root root  108 Apr  7  2014 raid-check
-rw-r--r--  1 root root  235 Aug 29  2014 sysstat
cat /etc/cron.d/0hourly

Код:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
01 * * * * root run-parts /etc/cron.hourly
cat /etc/cron.d/raid-check

Код:
# Run system wide raid-check once a week on Sunday at 1am by default
0 1 * * Sun root /usr/sbin/raid-check
cat /etc/cron.d/sysstat

Код:
# Run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
# 0 * * * * root /usr/lib64/sa/sa1 600 6 &
# Generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A
cat /proc/version

Код:
Linux version 2.6.32-431.29.2.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Tue Sep 9 21:36:05 UTC 2014
cat /proc/sys/vm/mmap_min_addr

Код:
4096


ls -la /etc/cron.hourly


Код:
total 12
drwxr-xr-x.  2 root root 4096 Sep 26  2011 .
drwxr-xr-x. 71 root root 4096 Oct  8 04:27 ..
-rwxr-xr-x.  1 root root  409 Nov 23  2013 0anacron
cat /etc/cron.hourly/0anacron

Код:
#!/bin/bash
# Skip excecution unless the date has changed from the previous run
if test -r /var/spool/anacron/cron.daily; then
  day=`cat /var/spool/anacron/cron.daily`
fi
if [ `date +%Y%m%d` = "$day" ]; then
  exit 0;
fi

# Skip excecution unless AC powered
if test -x /usr/bin/on_ac_power; then
  /usr/bin/on_ac_power &> /dev/null
  if test $? -eq 1; then
  exit 0
  fi
fi
/usr/sbin/anacron -s
find / -type f -perm -u+s -exec ls -la {} \; 2>/dev/null

Код:
-rwsr-xr-x. 1 root root 10272 Nov 22  2013 /sbin/pam_timestamp_check
-rwsr-xr-x. 1 root root 34840 Nov 22  2013 /sbin/unix_chkpwd
-rwsr-xr-x. 1 root root 77336 Apr 28  2014 /bin/mount
-rwsr-xr-x. 1 root root 40760 Sep 26  2013 /bin/ping
-rwsr-x---. 1 root fuse 27968 Dec  7  2011 /bin/fusermount
-rwsr-xr-x. 1 root root 36488 Sep 26  2013 /bin/ping6
-rwsr-xr-x. 1 root root 53472 Apr 28  2014 /bin/umount
-rwsr-xr-x. 1 root root 34904 Jun 25  2014 /bin/su
-rwsr-x--- 1 root dbus 46232 Sep 13  2012 /lib64/dbus-1/dbus-daemon-launch-helper
-rwsr-xr-x. 1 root root 9000 Sep  3  2014 /usr/sbin/usernetctl
---s--x--x. 1 root root 123832 Nov 22  2013 /usr/bin/sudo
-rwsr-xr-x. 1 root root 71480 Dec  7  2011 /usr/bin/gpasswd
-rwsr-xr-x. 1 root root 51784 Nov 23  2013 /usr/bin/crontab
-rwsr-xr-x. 1 root root 30768 Feb 22  2012 /usr/bin/passwd
-rwsr-xr-x 1 root root 18072 Sep 19  2013 /usr/bin/pkexec
-rws--x--x. 1 root root 20056 Apr 28  2014 /usr/bin/chsh
-rwsr-xr-x. 1 root root 66352 Dec  7  2011 /usr/bin/chage
-rwsr-xr-x. 1 root root 36144 Dec  7  2011 /usr/bin/newgrp
-rws--x--x. 1 root root 20184 Apr 28  2014 /usr/bin/chfn
-rws--x--x. 1 root root 14280 Aug 29  2014 /usr/libexec/pt_chown
-rwsr-xr-x. 1 root root 237376 Nov 22  2013 /usr/libexec/openssh/ssh-keysign
-rwsr-xr-x 1 root root 11080 Sep 19  2013 /usr/libexec/polkit-1/polkit-agent-helper-1
 
Ответить с цитированием