v*a
2 楼
1)Let's say you know a process called "test" is running, and listening on a
TCP port for clients to connect over the network. How would you figure out
what port number it is listening on?
2)You have encountered a linux system that does not have any swap space
configured on it. How can you add swap space to the system while it runs?
What do you need to do to ensure that after a reboot the system retains the
newly-added swap space?
谢谢
TCP port for clients to connect over the network. How would you figure out
what port number it is listening on?
2)You have encountered a linux system that does not have any swap space
configured on it. How can you add swap space to the system while it runs?
What do you need to do to ensure that after a reboot the system retains the
newly-added swap space?
谢谢
c*j
4 楼
lsof, netstat
different unix has different command to do this, but they all can make a
file and use it for swap (see mkfile, dd, swap, swapon etc.)
http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
different unix has different command to do this, but they all can make a
file and use it for swap (see mkfile, dd, swap, swapon etc.)
http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
P*5
5 楼
唉。可怜的娃们。
v*a
6 楼
1)Let's say you know a process called "test" is running, and listening on a
TCP port for clients to connect over the network. How would you figure out
what port number it is listening on?
2)You have encountered a linux system that does not have any swap space
configured on it. How can you add swap space to the system while it runs?
What do you need to do to ensure that after a reboot the system retains the
newly-added swap space?
谢谢
TCP port for clients to connect over the network. How would you figure out
what port number it is listening on?
2)You have encountered a linux system that does not have any swap space
configured on it. How can you add swap space to the system while it runs?
What do you need to do to ensure that after a reboot the system retains the
newly-added swap space?
谢谢
T*l
8 楼
a
the
【在 v*******a 的大作中提到】
: 1)Let's say you know a process called "test" is running, and listening on a
: TCP port for clients to connect over the network. How would you figure out
: what port number it is listening on?
: 2)You have encountered a linux system that does not have any swap space
: configured on it. How can you add swap space to the system while it runs?
: What do you need to do to ensure that after a reboot the system retains the
: newly-added swap space?
: 谢谢
D*e
10 楼
1) netstat -antp | grep `ps -eaf | grep test | awk '{print $2}' | head -n
1`
or use lsof to list out the fd
2) man swapon
1`
or use lsof to list out the fd
2) man swapon
相关阅读
Re: ctrl+c doesn't work in csh, (solved)[转载] 别闲扯了, 看看这个吧, --- NFS super slowshell script for column operationVeritas volume manager[转载] help: linux 的 2G 文件大小限制[转载] 如何删除没用的进程远程操作unix图形软件的命令是什么来着一个X 程序能显示在多个X server上吗?urgent! help needed!Need help to use "read" in ksh如何知道自己目录下的文件被什么用户访问过?[转载] anybody give me a rootkit?Re: how to track page faults when alloca[转载] How can I mount local HD from Server?how to track page faults when allocation蔡鸟问:how to delete file "-in.out"请问在UNIX系统如何后台运行MATLAB 程序??A werid Solaris crash when using yacc.Solaris system administrator help双CPU的问题