命令拷屏

[[email protected] ~]# yum install rpcbind

Installed:
  rpcbind.x86_64 0:0.2.0-11.el6
Dependency Installed:
  libgssglue.x86_64 0:0.1-11.el6                                               libtirpc.x86_64 0:0.2.1-6.el6_5.2
[[email protected] network-scripts]# ps -ef|grep rpc
root      3082  2368  0 17:54 pts/1    00:00:00 grep rpc

[[email protected] ~]# rpm -ql libgssglue
/etc/gssapi_mech.conf
/lib64/libgssglue.so.1
/lib64/libgssglue.so.1.0.0
[[email protected] ~]# rpm -ql libtirpc
/etc/netconfig
/lib64/libtirpc.so.1
/lib64/libtirpc.so.1.0.10
[[email protected] ~]# rpm -ql rpcbind
/etc/rc.d/init.d/rpcbind
/sbin/rpcbind
/usr/sbin/rpcinfo
/var/cache/rpcbind

[[email protected] ~]# service rpcbind start
Starting rpcbind:                                          [  OK  ]
[[email protected] ~]# ps -ef|grep rpc
rpc       1174     1  0 18:07 ?        00:00:00 rpcbind
root      1178  1140  0 18:07 pts/0    00:00:00 grep rpc
[[email protected] ~]# rpcbind start
[[email protected] ~]# ps -ef|grep rpc
rpc       3085     1  0 17:55 ?        00:00:00 rpcbind start
root      3087  2368  0 17:55 pts/1    00:00:00 grep rpc
[[email protected] ~]# rpcbind -a
-a (abort) specified without -d (debugging) -- ignored.
rpcbind: another rpcbind is already running. Aborting
[[email protected] ~]# rpcbind -i
rpcbind: another rpcbind is already running. Aborting
[[email protected] ~]# rpcbind -s
rpcbind: another rpcbind is already running. Aborting
[[email protected] ~]# rpcbind -w
rpcbind: another rpcbind is already running. Aborting
[[email protected] ~]# cd /proc/1174/fd
[[email protected] fd]# ls
0  1  10  11  2  3  4  5  6  7  8  9
[[email protected] fd]# ll
total 0
lrwx------. 1 root root 64 Sep 18 18:10 0 -> /dev/null
lrwx------. 1 root root 64 Sep 18 18:10 1 -> /dev/null
lrwx------. 1 root root 64 Sep 18 18:10 10 -> socket:[11434]
lrwx------. 1 root root 64 Sep 18 18:10 11 -> socket:[11435]
lrwx------. 1 root root 64 Sep 18 18:10 2 -> /dev/null
lr-x------. 1 root root 64 Sep 18 18:10 3 -> /var/run/rpcbind.lock
lrwx------. 1 root root 64 Sep 18 18:10 4 -> socket:[11450]
lrwx------. 1 root root 64 Sep 18 18:10 5 -> socket:[11425]
lrwx------. 1 root root 64 Sep 18 18:10 6 -> socket:[11427]
lrwx------. 1 root root 64 Sep 18 18:10 7 -> socket:[11429]
lrwx------. 1 root root 64 Sep 18 18:10 8 -> socket:[11430]
lrwx------. 1 root root 64 Sep 18 18:10 9 -> socket:[11432]
[[email protected] fd]# rpcinfo
   program version netid     address                service    owner
    100000    4    tcp6      ::.0.111               portmapper superuser
    100000    3    tcp6      ::.0.111               portmapper superuser
    100000    4    udp6      ::.0.111               portmapper superuser
    100000    3    udp6      ::.0.111               portmapper superuser
    100000    4    tcp       0.0.0.0.0.111          portmapper superuser
    100000    3    tcp       0.0.0.0.0.111          portmapper superuser
    100000    2    tcp       0.0.0.0.0.111          portmapper superuser
    100000    4    udp       0.0.0.0.0.111          portmapper superuser
    100000    3    udp       0.0.0.0.0.111          portmapper superuser
    100000    2    udp       0.0.0.0.0.111          portmapper superuser
    100000    4    local     /var/run/rpcbind.sock  portmapper superuser
    100000    3    local     /var/run/rpcbind.sock  portmapper superuser
[[email protected] fd]# ss -ln
State      Recv-Q Send-Q                                               Local Address:Port                                                 Peer Address:Port
LISTEN     0      128                                                             :::111                                                            :::*
LISTEN     0      128                                                              *:111                                                             *:*
LISTEN     0      128                                                             :::22                                                             :::*
LISTEN     0      128                                                              *:22                                                              *:*
LISTEN     0      100                                                            ::1:25                                                             :::*
LISTEN     0      100                                                      127.0.0.1:25                                                              *:*
[[email protected] fd]# cd /var/cache/
[[email protected] cache]# ls
ldconfig  rpcbind  yum
[[email protected] cache]# cd rpcbind/
[[email protected] rpcbind]# ll
total 8
-rw-------. 1 rpc rpc 124 Sep 18 18:06 portmap.xdr
-rw-------. 1 rpc rpc 668 Sep 18 18:06 rpcbind.xdr
[[email protected] rpcbind]# file *
portmap.xdr: data
rpcbind.xdr: data

[[email protected] rpcbind]# yum install nfs-utils
Installed:
  nfs-utils.x86_64 1:1.2.3-39.el6_5.3
Dependency Installed:
  keyutils.x86_64 0:1.4-4.el6                     libevent.x86_64 0:1.4.13-4.el6                     nfs-utils-lib.x86_64 0:1.1.5-6.el6_5
[[email protected] rpcbind]# rpm -ql nfs-utils
/etc/nfsmount.conf
/etc/rc.d/init.d/nfs
/etc/rc.d/init.d/nfslock
/etc/rc.d/init.d/rpcgssd
/etc/rc.d/init.d/rpcidmapd
/etc/rc.d/init.d/rpcsvcgssd
/etc/request-key.d/id_resolver.conf
/etc/sysconfig/nfs
/sbin/mount.nfs
/sbin/mount.nfs4
/sbin/nfs_cache_getent
/sbin/rpc.statd
/sbin/umount.nfs
/sbin/umount.nfs4
/usr/sbin/exportfs
/usr/sbin/mountstats
/usr/sbin/nfsidmap
/usr/sbin/nfsiostat
/usr/sbin/nfsstat
/usr/sbin/rpc.gssd
/usr/sbin/rpc.idmapd
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
/usr/sbin/rpc.svcgssd
/usr/sbin/rpcdebug
/usr/sbin/showmount
/usr/sbin/sm-notify
/usr/sbin/start-statd
/var/lib/nfs
/var/lib/nfs/etab
/var/lib/nfs/rmtab
/var/lib/nfs/rpc_pipefs
/var/lib/nfs/statd
/var/lib/nfs/statd/sm
/var/lib/nfs/statd/sm.bak
/var/lib/nfs/state
/var/lib/nfs/v4recovery
/var/lib/nfs/xtab
[[email protected] rpcbind]# rpm -ql nfs-utils-lib
/etc/idmapd.conf
/usr/lib64/libnfsidmap.so.0
/usr/lib64/libnfsidmap.so.0.3.0
/usr/lib64/libnfsidmap/nsswitch.so
/usr/lib64/libnfsidmap/static.so
/usr/lib64/libnfsidmap/umich_ldap.so
/usr/lib64/librpcsecgss.so.3
/usr/lib64/librpcsecgss.so.3.0.0
[[email protected] rpcbind]# rpm -ql keyutils
/bin/keyctl
/etc/request-key.conf
/etc/request-key.d
/sbin/request-key
[[email protected] rpcbind]# rpm -ql libevent
/usr/lib64/libevent-1.4.so.2
/usr/lib64/libevent-1.4.so.2.1.3
/usr/lib64/libevent_core-1.4.so.2
/usr/lib64/libevent_core-1.4.so.2.1.3
/usr/lib64/libevent_extra-1.4.so.2
/usr/lib64/libevent_extra-1.4.so.2.1.3
[[email protected] nfs]# mount
/dev/mapper/VolGroup-lv_root 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,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)启动nfs后会多出这两行
nfsd on /proc/fs/nfsd type nfsd (rw)

时间: 2024-10-29 19:06:59

命令拷屏的相关文章

sed命令拷屏

工作原理语法格式 工作原理sed是一个非交互式的流编辑器.所谓非交互式,是指使用sed只能在命令行下输入编辑命令来编辑文本,然后在屏幕上查看输出:而所谓流编辑器,是指sed每次只从文件(或输入)读入一行,然后对该行进行指定的处理,并将结果输出到屏幕(除非取消了屏幕输出又没有显式地使用打印命令),接着读入下一行.整个文件像流水一样被逐行处理然后逐行输出.下面我们看一下sed的工作过程.sed不是在原输入上直接进行处理的,而是先将读入的行放到缓冲区中,对缓冲区里的内容进行处理,处理完毕后也不会写回原

ceph命令拷屏

常用命令 ceph df ceph features ceph fs ls ceph fs status ceph fsid ceph health ceph -s ceph status ceph mgr module ls ceph mgr module enable dashboard ceph mgr services ceph mon feature ls ceph node ls ceph osd crush rule ls ceph osd crush rule dump ceph

命令拷屏之存储信息

磁盘与分区及文件系统 [[email protected] ~]# hdparm -i /dev/sda 查看硬盘参数[[email protected] ~]# fdisk -l 查看所有分区[[email protected] ~]# df -h|column -t 查看各分区使用情况[[email protected] ~]# mount|column -t 查看挂载的分区状态[[email protected] ~]# du -sh /var/log 查看指定目录大小[[email pr

命令拷屏之硬件信息

dmesg cat /proc/cpuinfo,/proc/meminfo,/proc/bus/usb/devices lspci,lsusb,lshal dmidecode [[email protected] ~]# dmesg |wc -l 1079 [[email protected] ~]# dmesg |grep cpu powernow-k8: Found 4 AMD Opteron(TM) Processor 6212 processors (16 cpu cores) (ver

vi命令-翻屏

1.翻屏 命令:Ctrl+f 描述:向下翻一屏 命令:Ctrl+b 描述:向上翻一屏 命令:Ctrl+d 描述:向下翻半屏 命令:Ctrl+u 描述:向上翻半屏

串口屏之------Usart GPU 使用手册

Usart GPU 使用手册 文档更新日期 更新内容 2014-9-10 C编程sprintf问题 2014-8-8 版本程序1.0,升级了自定义波特率部分 ------ 原始版本 第一部分:基础应用 概述: Usart 是串口的意思,GPU 是图形处理器的意思,产品的含义是做一个单片机使用的专用图形处理器,或者称之为串口液晶显示模块. 一. 接线 开箱后,可以将串口输出的4根引脚焊上排插,使用杜邦线将串口接到USB转TTL线上,即可接到电脑USB口上上电,屏幕即会显示第一屏的Hello界面:

BAT命令大全

BAT命令大全 1 echo 和 @ @                          #关闭单行回显 echo off                  #从下一行开始关闭回显 @echo off               #从本行开始关闭回显.一般批处理第一行都是这个 echo on                  #从下一行开始打开回显 echo                      #显示当前是 echo off 状态还是 echo on 状态 echo.          

Windows批处理(cmd/bat)常用命令小结

转载自:“趣IT”微信公共号 前言 批处理文件(batch file)包含一系列 DOS命令,通常用于自动执行重复性任务.用户只需双击批处理文件便可执行任务,而无需重复输入相同指令.编写批处理文件非常简单,但难点在于确保一切按顺序执行.编写严谨的批处理文件可以极大程度地节省时间,在应对重复性工作时尤其有效. 在Windows中善用批处理可以简化很多重复工作 什么是批处理 批处理(Batch),也称为批处理脚本.顾名思义,批处理就是对某对象进行批量的处理.批处理文件的扩展名为bat. 目前比较常见

DOS命令说明

(转自:http://blog.csdn.net/mydriverc/article/details/2047152) 1 echo 和 @回显命令@                        #关闭单行回显echo off                 #从下一行开始关闭回显@echo off                #从本行开始关闭回显.一般批处理第一行都是这个echo on                  #从下一行开始打开回显echo