Hardware :: Basic Usage Of Lsof And Fuser Command?

Jul 19, 2010

the basic usage of lsof and fuser command in linux

View 1 Replies


ADVERTISEMENT

Programming :: PHP - Creating Basic Simple SSH Command To Machine Over SSL?

Jan 18, 2011

I was thinking to install a very basic SSH gate, secured over SSL, like this [URL]
using PHP. However I would like to have it very basic and simple to install. (not database SQL, nor complicated things, ...) so that I get a prompt page with login and password to access the SSH-internet, and then can SSH the linux box over SSL and regular port 80 like they do. passwd would be in a txt file or whatever. You use index.htm and no one can scroll the tree of the directory. Would have someone already embedded php code for that?

View 1 Replies View Related

Server :: CentOS 5.5 - Fuser Not Giving Any Result

Oct 29, 2010

When I check socket on my box (Centos 5.5) I notice a strange behavior:
fuser 80/tcp
fuser -4 80/tcp
fuser -6 80/tcp
don't give me any result. But apache is running!
tcp 0 0 :::80 :::* LISTEN 25960/httpd

View 2 Replies View Related

Software :: Use Basic Math Functions From The Command Line Like Sqrt?

Sep 14, 2010

I have a user that wants to use basic math functions from the command line like sqrt and such. Apparently it was installed on the previous server we were using, but not on this new Debian server by default.

Anyone know what package has that functionality?

View 7 Replies View Related

General :: How Many Files Should Be Listed As Open Under Lsof

Jul 10, 2011

I am not an advanced Linux user. I have a VPS with 768MB of RAM running CentOS.I executed the lsof command as root and I see that there is a list of 3000 files. Usually, how many files should be there? My system is getting very slow, so is this list too long?How do I know which files to keep and which to close?I have seen that there are multiple copies of the same files with different PIDs. There are many log files in the list that I have not opened. Is this normal?total used free shared buffers cachedMem: 104287 492 103794 0 0 0

View 2 Replies View Related

Ubuntu :: Lsof - Information About Opened Connections?

Sep 1, 2011

I would like to know:

1)why do I have these open connections (have been opem during hours)

2)How can I know more about them

3)what action, command, program,... might have opened them

4)how can I close them

Code:

$ lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
.....
plugin-co 7739 user 62u IPv4 29414 TCP mypc.local:51000->fx-in-f105.1e100.net:www (CLOSE_WAIT)

[code]....

View 3 Replies View Related

CentOS 5 Hardware :: Hp P3005 Laser Printer Gives Me 49FF04 And Fuser Error

Aug 11, 2010

Hp P3005 Laser printer gives 49FF04 error message and 50.2 fuser unit problems. I open my printer, It doesn't receive tray paper. If you give this issue information about my broken piece, on fuser film is torn inside,deformed lower sleeved roller Worn bushing. I will buy a company this spare part on I want to fix my own printer.(Please understand my english is not very good show ) Bilberk Printer-Service-Spare parts [Moderator edited to remove advertising link.]

View 1 Replies View Related

General :: Top Command Usage ?

Aug 11, 2009

Does top command find out cpu time and process time for an interval and then calculates the process's cpu usage

eg: process time(interval 5sec)/cpu time (interval 5 sec)*100 %

View 1 Replies View Related

General :: Usage Of Man Command In Red Hat?

Dec 14, 2010

I'm need how to use the man & cat commands in red hat linux

View 2 Replies View Related

General :: TOP Command Memory Usage?

Apr 13, 2011

Under SuSE, (Mem: 31908592k total, 31421504k used,) how do i know which process or program using my memory?

View 2 Replies View Related

General :: Listing Cpu Usage With Top Command?

Apr 13, 2010

Im trying to list the cpu usage of all process that have a cpu usage of 10% or more. Im not interested in the lower usages. Im using the top command and can get a list of all the cpu usage for all the process but cant only get the processes with 10% or more. I'd want these processes sent to a new file. Would I be able to cat the cpu usages and PID into a file?

View 8 Replies View Related

Server :: TOP Command Showing 130% Usage?

Mar 8, 2011

In my server java based application is running and java usage showing some time 300% of usage in top command. on that time java application is getting some types errors. at that time i checked vmstat and sar commands also but they showing the free CPU. My server configuration as given below

Quote:

Processor Intel(R) Xeon(R) CPUX5670 @ 2.93GHz
No fo Cores 8
Ram :64GB

[code]....

View 2 Replies View Related

Ubuntu :: Log From Command Line - Free RAM Usage?

Sep 1, 2011

Is it possible to narrow down the ram command to give me JUST the free ram? Both commands that I know give me much more information that I would like to log.

Code:
free -m

This line gives me this. I really only want the one under "free"
Code:
total used free shared buffers cached
Mem: 1262 612 649 0 250 114
-/+ buffers/cache: 247 1014
Swap: 4010 6 4003

Code:
cat /proc/meminfo

This line gives me this. I really only want "MemFree"
Code:
MemTotal: 1292372 kB
MemFree: 636088 kB
Buffers: 279032 kB
Cached: 118768 kB
SwapCached: 532 kB
Active: 191408 kB
Inactive: 324684 kB .....

View 2 Replies View Related

Applications :: Show Disk Usage Of A Command?

Jan 9, 2010

The command time shows the time taken by a command to complete. Is there a command that shows the change in disk usage caused by a command? I would like to know how large a package is when I install it from source.

View 2 Replies View Related

General :: Usage Of AT Command To Schedule A Program?

May 13, 2010

i want to use the command at to execute a script on a specific time FOR EXAMPLE :at 12:30pm but the script does not have to ececute at all, I DIT IT BUT THE SCRIPT EXECUTES EACH 12:30pm (that'sy problem) i want to write a script that will execute each two months from a specific time . for example: from january 12, 2010 the script has to run before march 12,2010

View 5 Replies View Related

General :: Usage Of Sudo Command In Ubuntu And Red Hat?

Apr 18, 2010

In Red Hat, suppose if root user wishes to give a privilege to run the fdisk command to a user named sam.And he makes appropriate configuration changes in /etc/sudoers file. Now when sam wishes to run the fdisk command, then he has to issue:

Code:
[sam@system43~]$sudo /sbin/fdisk -l
Password: But in ubuntu, after the same configuration being done, what sam needs to do is:
Code:
[sam@somesystem43~]$sudo fdisk -l
Password: ***

That means, in ubuntu the user need not type the full path of the command. I wish to know how can I make red hat system work like ubuntu as far as the sudo usage is concerned.

View 3 Replies View Related

Ubuntu :: Command That Shows Current Network Usage?

May 27, 2010

is there a command that shows current network usage, similar to the way htop shows memory and processor usage?

View 3 Replies View Related

Ubuntu Servers :: Not Found A Command To Monitor Cpu Usage

Jun 20, 2011

I'm monitoring all kind of things like ( Mem, network, cpu, IOPS,..) But still not found a command where i can see the CPU usage but in MHZ ( or Hz). Using top or looking into /proc/cpuinfo doesn't give me the info i want.

View 4 Replies View Related

General :: Checking The Disk Usage Of Different Servers Using Df -h Command?

Jan 7, 2010

how to Check the disk usage of different linux servers using df -h linux command. My host server is 66.50.100.1, I can check its disk usage by using df -h command. I got my disk usage. Now using my host server Im going to check the server 66.50.100.3 disk usage. Is its possible to check the disk usage of 66.50.100.3 using my host server?

View 4 Replies View Related

Ubuntu :: Terminal Command To List Disk Usage In Order?

Mar 29, 2010

I regularly use 'df -h' to check usage on each of my primary directories and mount points.

I'm currently somewhat confused by disk usage within my filesystem, so I'd like to do the following:

Display directory size of all, or say, the 10 largest, subdirectories to a specified directory. So, if I passed the root (/) directory, output would list the subdirectory of / with the largest disk usage first and its associated disk usage listed in human readable format (either M or G suffix as appropriate), followed by the subdirectory and usage for the second largest directory and so on.

Can anyone suggest a command or series of commands to do this?

View 6 Replies View Related

Ubuntu :: Command To Determine Memory Usage On Hard Drive?

Jan 8, 2010

When at the console, what is the command (if there is one) to determine memory usage (used/free) on the hard drive that is being used for one's OS?

View 2 Replies View Related

General :: Different Space Usage (Discus Program Versus Command)

Mar 24, 2011

I have a debian linux on my server. My disk space is only 10GB. When I check the space usage with discus program, it says:

Mount Total Used Avail Prcnt Graph
/ 9.39 GB 8.30 GB 1.10 GB 88.3% [*********-]
+ib/init/rw 124.3 MB 0 KB 124.3 MB 0.0% [----------]
/sys 0 KB 0 KB 0 KB 0.0% [----------]
/dev 120.1 MB 92 KB 120.0 MB 0.1% [----------]
/dev/shm 124.3 MB 0 KB 124.3 MB 0.0% [----------]

But when I use this command:
du / --max-depth=0
It says:
1860864 /

Why the stats of discuss is not like du command?

View 5 Replies View Related

General :: Command To Check Specific Processes That's Using The Most IO/disk Usage?

Apr 12, 2011

Is there a command to check specific processes that's using the most IO/disk usage? I know sar and ps but I want more specific details on IO on individual processes

View 5 Replies View Related

Ubuntu :: Correct Usage Of Perl Expression In 'rename'-shell Command

Jan 21, 2011

I want to rename some files in one directory and found the command 'rename' most appropriate.

Changing the file extension is easy since there are lot of examples for this.

But now I want to rename my files like this:

'somePrefix_blablabla.ext' --> '0_blablabla.ext'
'somePrefix_blablablablabla.ext' --> '0_blablablablabla.ext'

I DON'T want an incrementation, just the leading prefix '0_'

correct perl expression syntax for this?

View 2 Replies View Related

Ubuntu :: What Is "twistd" And Why Is It Listening When Use Lsof

Jul 9, 2011

I ran lsof -i -n -P and got this in one of the results: twistd 1201 root 4u IPv4 6041 0t0 TCP *:8080 (LISTEN) What does the * mean in "*:8080" What is "twistd"--can you explain how you found what twistd is if you looked it up somehow, cause my google searches have not been fruitful

View 3 Replies View Related

General :: Status Of Memory Usage And Disk Usage Using Sigar In Windows And Ubuntu

Mar 15, 2010

I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.

View 14 Replies View Related

Fedora :: Hidden Disk Space Usage \ Can't Figure Out Where The Runaway Usage Is?

Dec 10, 2010

I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:

Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on

[code]....

View 5 Replies View Related

General :: Unix - Monitor Average CPU Usage And RAM Usage On One Process System?

Nov 15, 2010

Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!

View 2 Replies View Related

Software :: Use "top" Command To Check The Resource Usage ?

Apr 28, 2010

I usually use "top" command to check the resource usage , it is very good and simple method to know the status ( loading , CPU , memory usage ), but we have many servers so we can't check the servers frequently , so we can't find the problem before the problem happens

Any method / script that I can implement to send us a alert mail if the resource usage reach a specific level , for example , if the CPU usage reach 90% , then send us a alert mail.

View 1 Replies View Related

Red Hat / Fedora :: Get The Value Of CPU Usage - Memory Usage ?

Jan 13, 2009

I am sure that all of us know the result of top command in linux. i want to get the value that the top command return as CPU usage, memory usage. so how do i do(programming relation)?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved