




已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
HP-UX性能监控命令 liyf0371 当前离线 空间积分821 信誉积分126 UID12380499阅读权限20积分245帖子293精华0可用积分245 专家积分0 在线时间236 小时注册时间2007-06-25最后登录2012-02-010 1,iostat the iostat command reports I/O statistics for each active disk on the system# iostat -t x y x表示间隔的时间,y表示间隔显示的次数这个命令一般用于查看的参数是bps、sps、msps,一般来说msps的值都是1.02,psthe ps command displays information about selected processes running on the system3,sarthe sar command collects and reports on many different system activities,including CPU,buffer cache,disk,and others# sar -u 5 4 HP-UX d270_1 B.10.20 E 9000/861 11/15/0510:22:46 %usr %sys %wio %idle10:22:51 0 0 0 10010:22:56 0 0 0 10010:23:01 0 0 0 10010:23:06 0 0 0 100Average 0 0 0 100# sar -d 5 4HP-UX d270_1 B.10.20 E 9000/861 11/15/0510:23:13 device %busy avque r+w/sblks/savwaitavserv10:23:1710:23:21 c2t6d0 0.50 0.50 0 8 1.11 18.4710:23:2510:23:29Average c2t6d0 0.12 0.50 0 2 1.11 18.474,time,timexthe time and timex commands report the elapsed time,the time spent in system mode,and the time spent in user mode, for a specific invocation of a process5,top the top command displays a real-time list of the top CPU consumers on the system# top -s 10:间隔十秒显示top信息6,uptimethe uptime command shows how long a system has been up,and who is logged in and what they are doing# uptime10:30amup 14 days, 22:46,1 user,load average: 3.11, 3.10, 3.09# uptime -w10:32amup 14 days, 22:48,1 user,load average: 3.10, 3.10, 3.09User tty loginidle JCPU PCPUwhatroot ttyp1 9:32am uptime -w7,vmstat the vmstat command reports virtual memory statistics about processes, virtual memory, and CPU activity# vmstat -n 5 2VM memory page faults avm free re at pi po fr de sr in sy cs 2375 3128 1 0 0 0 0 0 0 161 38 33CPU cpu procs us sy id r b w 01 99 0 3 0 1528 3094 0 0 0 0 0 0 0 142 40 3200 100 0 3 08,glance和gpm只支持版本11.09,MeasureWare和PerfView工具只支持版本10.x和11.x10,netstatthe netstat command displays general networking statistics# netstat -rnRouting tablesDestination Gateway Flags Refs UseInterfacePmtu PmtuTime127.0.0.1 127.0.0.1 UH 0 350lo0 4608172.16.10.224 127.0.0.1 UH 1291489lo0 4608192.168.1.1 127.0.0.1 UH 0 616lo0 4608default 172.16.10.254 UG 0 8190lan0 1500172.16.10.0 172.16.10.224 U 1159593lan0 1500192.168.1 192.168.1.1 U 0 0btlan02 150011,nfsstatthe nfsstat command displays network file system statistics# nfsstatServer rpc:calls badcalls nullrecv badlen xdrcall nfsdrun0 0 0 0 0 0 Server nfs:calls badcalls0 0 null getattr setattr root lookup readlink read 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% wrcache write create remove rename link symlink 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% mkdir rmdir readdir statfs 0 0% 0 0% 0 0% 0 0% Client rpc:calls badcalls retrans badxid timeout wait newcred7 0 0 0 0 0 0 Client nfs:calls badcalls nclget nclsleep7 0 7 0 null getattr setattr root lookup readlink read 00% 3 42% 00% 00% 2 28% 00% 00% wrcache write create remove rename link symlink 00% 00% 00% 00% 00% 00% 00% mkdir rmdir readdir statfs 00% 00% 1 14% 1 14% 12,pingthe ping command sends an ICMP echo packet to a host, and times how long it takes for the echo packet to return13,lanscanthe lanscan command displays the LAN card configuration and status# lanscanHardware Station Crd Hardware Net-Interface NMMAC HP DLPI MjrPath Address In# State NameUnit StateIDType Support Num8/16/6 0x08000955A23A 0 UP lan0 UP 4 ETHER Yes 528/20/5/1 0x0060B05838EF 1 UP btlan01DOWN 5 ETHER Yes 778/20/5/2 0x0060B0580412 2 UP btlan02UP 6 ETHER Yes 7714,lanadminthe lanadmin command tests, displays statistics for, and allows modifications to LAN cards on the HP-UX system# lanadminLOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0 Tue , Nov 15,200511:02:51 Copyright 1994 Hewlett Packard Company. All rights are reserved.Test Selection mode. lan = LAN Interface Administration menu = Display this menu quit = Terminate the Administration terse = Do not display command menu verbose= Display command menu15,nddthe ndd command allows the examination and modification of several tunable parameters that affect networking operation and behaviorto list the contents of the arp cache# ndd -get /dev/arp arp_cache_reportto set the value of the default TTL parameter for UDP to 128:# ndd -set /dev/udp udp_def_ttl 12816,nettunethe nettune command allows modifications to be made to network parameters, which in previous releases were not modifiable, this command was not included with the HP-UX 11.0 releaseto get the value of the tcp_send object:# nettune tcp_send3276817,NetMetrixthe NetMetrix product makes use of LAN probes to collect network traffic information18,ipcsthe ipcs command displays information about active interprocess communication facilities.with no options, ipcs displays information in short format about message queues,shared memory segments, and semaphores that are currently active in the system# ipcsIPC status from /dev/kmem as of Tue Nov 15 11:18:28 2005T ID KEY MODE OWNER GROUPMessage Queues:q 0 0x3c1c033e -Rrw-w-w- root rootq 1 0x3e1c033e -rw-r-r- root rootShared Memory:m 0 0x2f100002 -rw- root sysm 1 0x411c0329 -rw-rw-rw- root rootm 2 0x4e0c0002 -rw-rw-rw- root rootm 3 0x41200cd9 -rw-rw-rw- root rootSemaphores:s 0 0x2f100002 -ra-ra-ra- root syss 1 0x411c0329 -ra-ra-ra- root roots 2 0x4e0c0002 -ra-ra-ra- root root19,ipcrmthe ipcrm command removes one or more specified message-queue, semaphore-set, or shared-memory identifiers# ipcs -s T ID KEY MODE OWNER GROUPSemaphores:s 0 0x2f100002 -ra-ra-ra- root syss 1 0x411c0329 -ra-ra-ra- root roots 2 0x4e0c0002 -ra-ra-ra- root roots 3 0x41200cda -ra-ra-ra- root roots 4 0x00446f6e -ra-r-r- root roots 5 0x00446f6d -ra-r-r- root roots 6 0x01090522 -ra-r-r- root roots 7 0x411c1e56 -ra-ra-ra- root roots 8 0x6120d49b -ra-ra-ra- root root# ipcrm -s 7# ipcs -sT ID KEY MODE OWNER GROUPSemaphores:s 0 0x2f100002 -ra-ra-ra- root syss 1 0x411c0329 -ra-ra-ra- root roots 2 0x4e0c0002 -ra-ra-ra- root roots 3 0x41200cda -ra-ra-ra- root roots 4 0x00446f6e -ra-r-r- root roots 5 0x00446f6d -ra-r-r- root roots 6 0x01090522 -ra-r-r- root roots 8 0x6120d49b -ra-ra-ra- root root20,nicethe nice command executes command at a nondefault CPU scheduling priority# ps -lF S UID PIDPPIDC PRI NI ADDR SZ WCHAN TTY TIME COMD1 R 0 29218 292170 178 2019d8d00101 - ttyp1 0:00 sh1 S 0 29217 291360 158 2018ae980 71097280 ttyp1 0:00 timex1 S 0 29136 291350 158 2019e1e80 83109b180 ttyp1 0:00 sh1 S 0 29135 6560 154 201942800 19 417400 ttyp1 0:00 telnetd1 R 0 29313 292182 178 2018e2400 21 - ttyp1 0:00 ps# nice sh# ps -lF S UID PIDPPIDC PRI NI ADDR SZ WCHAN TTY TIME COMD1 S 0 29218 292170 158 2019d8d001011097040 ttyp1 0:00 sh1 S 0 29217 291360 158 2018ae980 71097280 ttyp1 0:00 timex1 R 0 29315 293142 202 301898c80 21 - ttyp1 0:00 ps1 S 0 29136 291350 158 2019e1e80 83109b180 ttyp1 0:00 sh1 S 0 29135 6560 154 201942800 19 417400 ttyp1 0:00 telnetd1 S 0 29314 29218 19 158 3019d4700101109c5c0 ttyp1 0:00 sh21,renicethe renice command alters the priority of a running process22,getprivgrpthe getprivgrp command lists the access privileges of privileged groups# getprivgrpglobal privileges: CHOWN23,setprivgrpthe setprivgrp command sets the access privileges of privileged groups.if a group_name is supplied, access privileges are listed for that group only.the superuser is a memeber of all groupsAccess privileges include RTPRIO, RTSCHED, MLOCK, CHOWN, LOCKRDONLY, SETRUGID, SERIALIZE24,rtprio:set real time process priority rtsched:set POSIX real time process priority scsictl:set parameters on SCSI devices serialize:mark a program to run serially fsadm:online JFS management tool getext:display JFS extent attributes setext:sets/changes JFS extent attributes newfs:create a file system tunefs:change a file systems attributes PRM:process resource manager WebQoS:web quality of service25,bdf:local and remote mounted
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 知识产权培训照片课件
- 钢质门窗行业知识培训总结课件
- 2025年机关文印笔试备考模拟测试题
- 钢笔绘画基础知识培训课件
- 2025年1月国开(中央电大)行管本科《公共政策概论》期末考试试题及答案
- 2025证券从业资格考试试题及答案
- 2025年金融经济专业试题及答案
- 2025年信息经济学研究生入学考试试题及答案
- 钢板仓基本知识培训内容课件
- 满井游记公开课件
- 2025山西运城市临猗县招聘社区工作者32人(一)考试备考试题及答案解析
- 2025年鞍山市铁西区教育局面向师范类院校应届毕业生校园招聘45人笔试参考题库附答案解析
- 空调与制冷操作考试试题(含答案)
- (2025年)河南省信阳市辅警协警笔试笔试真题(含答案)
- 网络直播带货讲解
- 2025江西九江都昌县公安局招聘警务辅助人员14人笔试备考题库及答案解析
- 肿瘤药物配制注意事项
- GB/T 22126-2025物流中心作业通用规范
- 工管人才面试宝典:高级管理面试题目及答案解析
- 宿舍用水管理办法
- 土石方工程施工技术规范
评论
0/150
提交评论