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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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: Emacs高手帮忙定义几个热健vi tutorial 3Help!vi tutorial 2Re: 大家看看这是什么东东?group permissionRe: 为什么emacs自动给我加^M.Re: [转载] How to find match { ?Re: Find files and deletevi tutorial 7how to limit X-windowsRe: Where to download MP3 player for UNIX?how to run background process after logoutvi tutorial 4一个计算机学术网站Re: unix下怎么把一个大文件分成若干个小文件?Questions about Makefile关于group的属性[转载] [转载]清华博士Re: where to download solaris 8 x86 english ?