linux进程的状态SW和IW,Linux技巧:常用的系统状态查询命令

lslv -m hd5 -finds boot drive under pv1 column

lsps -a -checks available paging space

lsps -s -checks available paging space

lspv -lists information about the physical volumes

lspv hdisk# -list drive info

lspv -l hdisk# -lists logical volume group disk in

lsuser -f ALL -lists all attributes for all users

lsvg -lists volume groups

lsvg -p XXXXXX -lists disks in volume group (xxxxx= volume name) more -reads files and displays the text one screen at a time. mpcfg -df -list all setting the machine is set to (smp)

mpcfg -cf 11 1 -changes to fast IPL on SMP machines (smp)

mv fn (path fn) -move and rename a file

oslevel -shows AIX version (3.2.4 and above)

pg -reads and displays text one screen at a time.

pdisable -makes unavailable or shows all disabled tty’s

pdisable tty# -disables a tty

penable -makes available or shows all enabled tty‘s

penable tty# -enables a tty

ps -el |pg -look at process running on system

pwd -list what DIR you are currently in

r -repeats last command

rm -i ******* -remove a file & will prompt you if you are sure rmdev -l XXXXX -removes a device and defines it to data base rmdev -l XXXXX -d -removes a device and deletes it from data base set -o vi -sets up to veiw cammands that have been run

:wq -write(save) and quit file

Esc + k -used with SET command to list last command

k,l -k=list next command ran, l=steps you thru command

I -use with SET command inserts characters

j -steps you backwards

cw -cw=removes a word,just type in new word

(use with Esc)

a,x,r -a=added text, x=delete text, r=replace text(r+letter) R -lets you type over letters or words

smit ***** -(*****= tape,disk,tty,etc.fastpath)

su -stands for switch user,(NOT super user)

su -switches to root id or prompts you for password

su XXXXXX -switches to XXXXXX’s id

tar -cvf /dev/rmtX /etc -will copy /etc to a tape drive

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值