Solaris admin-commands

本文档提供了在Solaris系统中启动SNMP服务的详细步骤,包括定位SNMP协议文件的位置及使用特定命令来启动服务的方法。此外,还介绍了常用的bash命令如文件权限修改、用户查询等,并列举了用于监控系统资源使用的多个实用工具。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. Try to start the SNMP service.
 
--locate the folder in solaris containing snmp protocal file,"cd  /etc/init.d/init.snmpdx"
--start the service "./init.snmpdx start"
 
2. Common commands
 
--ls -la, list the files in detail
--chmod +x *, change the file and folder into read-write
--whoami, the current user
--pwd, the current positiion, show the full path
--sn,
 
bash:
--export name=value, set a env variable
--vname -a, to get the version of OS.
--cp, copy files
--dos2unix, change the dos file format to unix type.
chmod 755, change the files attribute to read and write.
chown, change the ownership of file or group
3.
  • top.   This utility shows a real-time picture of processes, CPU, and memory usage.

    sar.   The System Activity Reporter examines CPU, swapping, paging, memory, and buffer usage for specified time periods.
  • sadc.   Server activity statistics collection examining CPU, buffers, I/O, switching, system calls, file access, queues, IPCs, amongst other things.

  • vmstat.   Virtual memory statistics.

  • iostat.   I/O statistics.

 continued...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值