Tag Info

Hot answers tagged

3

The problem is /bin/ls don't just need the shared libraries, which you provided. It also needs the program that loads them; the linux loader. To solve your problem you can copy the loader from your system (usually /lib/ld-linux.so.2) to the location of your chroot (/mnt/foo/lib/ld-linux.so.2).


3

I'm not entirely sure what you're asking here. Yes, top shows CPU usage as a percentage of a single CPU by default. That's why you can have percentages that are >100. On a system with 4 cores, you can see up to 400% CPU usage. You can change this behavior by pressing I (that's Shift + i and toggles "Irix mode") while top is running. That will cause it to ...


2

You might see some information from here. Generally, a file descriptor is an index for an entry in a kernel-resident data structure containing the details of all open files. In POSIX, this data structure is called a file descriptor table, and each process has its own file descriptor table. The user application passes the abstract key to the kernel through a ...


2

A FILE structure in C is typically called the file handle and is a bit of abstraction around a file descriptor: The data type FILE is a structure that contains information about a file or specified data stream. It includes such information as a file descriptor, current position, status flags, and more. It is most often used as a pointer to a ...


2

grep --color=always -e pattern -e '$'


1

The documentation for the pam_loginuid PAM module gives a pretty good hint: The pam_loginuid module sets the loginuid process attribute for the process that was authenticated. This is necessary for applications to be correctly audited. This PAM module should only be used for entry point applications like: login, sshd, gdm, vsftpd, crond and atd. ...


1

ICMP type 3 code 10 This implies it's a response to you from another firewall. If I have an iptables rule that ends with: REJECT --reject-with icmp-net-prohibited and a request from you is covered by this rule, you will receive a code 10 type 3 ICMP packet to inform you the port is unreachable by you. This is considered the correct response, as ...


1

Try this: grep --color=always -e 'pattern\|$' file


1

Just answering your first question. In the output of cat /proc/cpuinfo you can see the following information:- physical id : 0 siblings : 4 core id : 0 cpu cores : 2 You can see the count of siblings is 4 and cpu cores is 2. cpu cores being 2 is that total number of cores in the processor which can be checked from the spec given in the intel's ...


1

Why are the SSH variables set? It is likely that the variables are set because your VNC connection is tunneled through an SSH connection. There are good reasons to do this. VNC uses the RFB protocol which is not secure. Tunneling VNC through SSH improves security. Why is the SSH_CONNECTION variable the same? The SSH_CONNECTION variable consists of four ...



Only top voted, non community-wiki answers of a minimum length are eligible