SnapOverflow

SnapOverflow Logo SnapOverflow Logo

SnapOverflow Navigation

  • Home
  • Server
  • Ubuntu

Mobile menu

Close
  • Home
  • System Administrators
    • Hot Questions
    • New Questions
    • Tags
  • Ubuntu
    • Hot Questions
    • New Questions
    • Tags
  • Help
Home / user-77159

kernel's questions

Martin Hope
kernel
Asked: 2011-09-17 07:06:39 +0800 CST

Can a single network card have 2 IP addresses?

  • 37

Are network cards and IP addresses a one-one map?

ip nic
  • 7 Answers
  • 89967 Views
Martin Hope
kernel
Asked: 2011-09-01 03:08:48 +0800 CST

How to do "du" on all files under a directory in linux?

  • 6

This is what I tried:

[demo@ ~]# ll /usr/local/apache2/logs/|xargs |du -hm -
du: cannot access `-': No such file or directory

I want to see the amount of space each file occupies in m unit.

How to do it the correct way?

linux du
  • 4 Answers
  • 11308 Views
Martin Hope
kernel
Asked: 2011-07-15 05:51:33 +0800 CST

How to find .h,.c and .cc files under current directory in linux?

  • 2
find . -name "*.[hc]|*.cc"

The above doesn't work,why?

UPDATE

How do I find these 3 kinds of files with a single pattern?

shell pattern-matching find
  • 2 Answers
  • 2455 Views
Martin Hope
kernel
Asked: 2011-06-20 04:43:45 +0800 CST

How to get sockets which are listening on a specific port in linux?

  • 4

An application may be binding multiple sockets to a specific port,how can I get those sockets command line?

linux socket
  • 3 Answers
  • 552 Views
Martin Hope
kernel
Asked: 2011-06-05 03:05:51 +0800 CST

Processors with the same id,why?

  • 2

Here's the output of cat /proc/cpuinfo:

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 2
model name  : Quad-Core AMD Opteron(tm) Processor 2350 HE
stepping    : 3
cpu MHz     : 1994.998
cache size  : 512 KB
physical id : 0
siblings    : 1
core id     : 0
cpu cores   : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips    : 4000.86
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 2
model name  : Quad-Core AMD Opteron(tm) Processor 2350 HE
stepping    : 3
cpu MHz     : 1994.998
cache size  : 512 KB
physical id : 0
siblings    : 1
core id     : 1
cpu cores   : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips    : 4000.86
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 2
model name  : Quad-Core AMD Opteron(tm) Processor 2350 HE
stepping    : 3
cpu MHz     : 1994.998
cache size  : 512 KB
physical id : 0
siblings    : 1
core id     : 1
cpu cores   : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips    : 4000.86
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 2
model name  : Quad-Core AMD Opteron(tm) Processor 2350 HE
stepping    : 3
cpu MHz     : 1994.998
cache size  : 512 KB
physical id : 0
siblings    : 1
core id     : 1
cpu cores   : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
bogomips    : 4000.86
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

Why 4 processors are all with the id 0 (processor : 0)?

central-processing-unit
  • 1 Answers
  • 230 Views
Martin Hope
kernel
Asked: 2011-05-28 20:10:10 +0800 CST

How does nginx support cgi?

  • 2

With apache ,I just put my binary under cgi-bin,how about nginx?

Does it support cgi at all?

cgi nginx
  • 2 Answers
  • 1852 Views
Martin Hope
kernel
Asked: 2011-05-20 08:25:59 +0800 CST

What does each field of netstat -ano mean?

  • 3
tcp        0      0 219.155.32.195:8888     221.137.227.51:5943     TIME_WAIT   timewait (58.45/0/0)
tcp        0      0 219.155.32.195:8888     221.137.227.51:5936     TIME_WAIT   timewait (59.36/0/0)
tcp        0   2944 219.155.32.195:8888     221.137.227.51:5937     FIN_WAIT1   on (0.35/0/0)

Especially for the 3rd row,what does 0 , FIN_WAIT1, on and (0.35/0/0) mean respectively?

netstat
  • 2 Answers
  • 9612 Views
Martin Hope
kernel
Asked: 2011-04-29 20:24:45 +0800 CST

Can scp copy directories recursively?

  • 751

Currently I can only copy a single .tar file. But how can I copy directories recursively with scp?

linux scp
  • 9 Answers
  • 992982 Views
Martin Hope
kernel
Asked: 2011-04-18 08:11:30 +0800 CST

About the link layer of TCP/IP

  • 1

I know there're ethernet,token ring,FDDI ,etc protocat the link layer,

but how to know the exact protocol used to perform a specific task,like browsing a web page?

tcpip link-layer
  • 5 Answers
  • 388 Views
Martin Hope
kernel
Asked: 2011-04-18 00:37:07 +0800 CST

How to interpret this command chaining?

  • 1
[root@localhost /]# ( ./address_to_char;cat) | ./overflow

How does ( ./address_to_char;cat) work here?

What's different from ./address_to_char|./overflow?

bash
  • 2 Answers
  • 128 Views
Martin Hope
kernel
Asked: 2011-04-08 07:26:20 +0800 CST

How to install hd on centos?

  • 2
$ hd test.bin
00000000  e8 06 00 00 00 74 65 73  74 0a 00 b8 04 00 00 00  |.....test.......|
00000010  bb 01 00 00 00 59 ba 05  00 00 00 cd 80 c3        |.....Y........|

hd is supposed to be able to read hex,but how to install it?

Here's what I tried:

$# yum install hd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror01.idc.hinet.net
 * base: mirror01.idc.hinet.net
 * epel: mirror.bjtu.edu.cn
 * extras: mirror01.idc.hinet.net
 * updates: mirror01.idc.hinet.net
Setting up Install Process
No package hd available.
Nothing to do
yum
  • 1 Answers
  • 2047 Views
Martin Hope
kernel
Asked: 2011-04-05 18:44:40 +0800 CST

About kernel upgrade

  • 0

If I upgrade the kernel,will old binaries use new version of .so or still the old version?

UPDATE

Why kernel has nothing to do with .so?

linux-kernel
  • 1 Answers
  • 86 Views

Sidebar

Stats

  • Questions 681965
  • Answers 980273
  • Best Answers 280204
  • Users 287326
  • Popular
  • Answers
  • Marko Smith

    Can you pass user/pass for HTTP Basic Authentication in URL parameters?

    • 5 Answers
  • Marko Smith

    Ping a Specific Port

    • 18 Answers
  • Marko Smith

    Check if port is open or closed on a Linux server?

    • 7 Answers
  • Marko Smith

    How to automate SSH login with password?

    • 10 Answers
  • Marko Smith

    How do I tell Git for Windows where to find my private RSA key?

    • 30 Answers
  • Marko Smith

    What's the default superuser username/password for postgres after a new install?

    • 5 Answers
  • Marko Smith

    What port does SFTP use?

    • 6 Answers
  • Marko Smith

    Command line to list users in a Windows Active Directory group?

    • 9 Answers
  • Marko Smith

    What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats?

    • 3 Answers
  • Marko Smith

    How to determine if a bash variable is empty?

    • 15 Answers
  • Martin Hope
    Davie Ping a Specific Port 2009-10-09 01:57:50 +0800 CST
  • Martin Hope
    Smudge Our security auditor is an idiot. How do I give him the information he wants? 2011-07-23 14:44:34 +0800 CST
  • Martin Hope
    kernel Can scp copy directories recursively? 2011-04-29 20:24:45 +0800 CST
  • Martin Hope
    Robert ssh returns "Bad owner or permissions on ~/.ssh/config" 2011-03-30 10:15:48 +0800 CST
  • Martin Hope
    Eonil How to automate SSH login with password? 2011-03-02 03:07:12 +0800 CST
  • Martin Hope
    gunwin How do I deal with a compromised server? 2011-01-03 13:31:27 +0800 CST
  • Martin Hope
    Tom Feiner How can I sort du -h output by size 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent How to determine if a bash variable is empty? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus How do you find what process is holding a file open in Windows? 2009-05-01 16:47:16 +0800 CST

Related Questions

Trending Tags

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • Home
  • Questions
    • Hot Questions
    • New Questions
  • Tags
  • Help

Footer

SnapOverflow

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Help

© 2022 SOF-TR. All Rights Reserve