Ubuntu :: Output Of Htop In A File?

Apr 15, 2011

result of a command in the terminal. Tried using command > resultfilebut this works with commands like ls which provide a result line by line. But for commands like top, htop and some other the text file adds some string of characters.Example of running htop > test.txt is shown in the attached image. Anybody know how I can remove those characters and get something useful.The problems are those strings of character liek (B and [39m and so on.Also if i open the file on cat if displays fine(well it closes as soon as it opens but i can just see its ok) but on vim and gedit i get the result shown in the image.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Run Htop On Startup?

May 5, 2010

Is it possible to have htop run automatically after I login? If it's too much to ask, it would be great if that specific htop window is locked on the upper right corner of my screen and is a bit transparent (more opacity).

I'm looking for something similar to this one: [URL]

View 4 Replies View Related

Ubuntu :: Pdftk Output File With Pages Extracts Same Size As Input File?

Apr 22, 2011

I am curious if perhaps I am doing something wrong extracting pages from a pdf doc using pdftk and creating a new file. I am only extracting the odd pages from the file and outputting them to a new file that is now only 20 pages instead of the input's 40 pages, yet the new output file is still 1.4Mb in size, the same as the original.

It seems strange to extract only half the pages of a large document and end up with a result that is the same size. how to streamline the resulting pdf's using pdftk?

BTW this is the command I am using, in case perhaps I am missing an option to optimize file size or something:

Code:
pdftk A=ch15.pdf cat A1-40odd output odd.pdf

View 1 Replies View Related

Ubuntu :: Error (splicing File: Input / Output) While Copying File

Jun 3, 2010

When I try to copy PDF files from one folder to another folder, it give me this error: "Error while copying "2004-SNUG-Europe-paper_...log_DPI_with_SystemC.pdf". There was an error copying the file into /media/CCDCE66BDCE64F70/Backup Master/Heterogeneous_cosimulation/Documentation" "Error splicing file: Input/output error" What is the reason of this error and how can this be fixed?

View 9 Replies View Related

Ubuntu :: Copying File - Error Reading From File Input/output

Jun 29, 2010

I have a 7.2 GB file (VMWare virtual machine file) that I am trying to copy from its original location to the another folder OR to external hard drive...each time I try to do this, I always get the following error after the copying process reach 'exactly' 1.4 GB

Error reading from file input/output error

And I have to either Cancel or Skip

I've tried to split the files to smaller pieces but the idea didn't work as I still get the same error whenever I try to compress/ split or do any operation with this file. how I can copy this file?

View 2 Replies View Related

Ubuntu :: Htop Vs 'top' Vs 'free' Disparity

Sep 22, 2010

When I run Htop on my Ubuntu 10.04 machine, the "Mem" line reads 239/992MB.

However, when I run 'top' I get:

Also, when I run 'free', I get:

It seems like Htop tells me I have more than 700MB free, but 'top' and 'free' tell me that I only have about 270MB free.

View 2 Replies View Related

Ubuntu Servers :: Multiple Entries In Htop?

Aug 29, 2010

Running 9.04 Xubuntu desktop as server and development environment. I turn off gdm once booted up. When sshing in for other computer I ran htop, and found the following multiple processes:

[Code]....

Is there any good reason why I have multiples of these, or conversely is there a problem by having them? Everything works OK. Apache is only serving up my web development pages which I work on now and then, so its not having to handle external traffic. The server is port forwarded on port 80 through the router.

View 4 Replies View Related

Ubuntu Servers :: Reading Htop System Loads With The I7?

Jul 7, 2010

I just built a server, which displays 8 cores in the i7 processor. However, because of the 2 threads per core, it shows up as an 8 core system. When viewing htop, it shows system loads at 0.29,0.18, and 0.13 for respective averaging times. How would I calculate actual system load for this processor? Would I divide the average by 4 or 8? Or, is there another method?

View 7 Replies View Related

Ubuntu :: No Running Htop Entry In Unity's Launcher?

May 28, 2011

htop is my preferred system monitor, but I have a problem with it in Unity: When I open htop from the Applications lens there's no entry in the launcher added for it. This means I can't add it permanently to the launcher. It may have to do with it being a terminal based program, but I was wondering if there is a way to get it permanently added to the launcher?

View 3 Replies View Related

Programming :: Variable String File Base - Output File Doest Not Exclude The Values In Grep -av

May 1, 2011

My script.

This is may script:

Code:

Problem: Output file doest not exclude the values in grep -av

View 3 Replies View Related

General :: Data From Input File To Be Taken And Send To Output File?

Jul 24, 2010

I am new to shell scripting.What i am trying is to write a shell script which take the input file and output should like as mentioned below.Output file should have data till SOK (marked in red)from every second line and then the selected data(marked in green) from 4th line.So selected data from 2nd and 4th line in one line of O/P file and then similarly selected data from 6th and 8th line in second line of O/P file.Input File:

3c3
< c1111;11.11.11.11;pOK;SOK:abcde;Universe:aa
---

[code]...

View 14 Replies View Related

General :: Script To Ftp A File To Remote Machine - Log The Output To A File?

Feb 5, 2010

I am using below script to ftp a file to remote machine

Code:

#!/bin/bash
ftp -nv <<EOF
open ${SERVER}

[code]....

When I execute the above file its working fine and displaying output on to the screen. How can I log the output to a file?

View 7 Replies View Related

Programming :: Sed - Save Output To File With Filename From Content Of Another File?

Feb 28, 2011

My employer issues pdf files with everyones work schedules. I copy the content and save it as plain text in a file called unformatted (hope to be able to automate this step someday). Im working on a SED script that reduces unformatted to only display what I want to see and saves the result in a file Iïve named formatted. After that I have to manually copy formatted and save it with that days date as a filename e.g. 2011-02-25 or whatever day is scheduled in the pdf, for use on a mobile device (Nokia N900). I noticed that the date occurs on certain lines in the file so I added a line like:

sed -n 's/^Date: (201[1-9])/([0-1][0-9])/([0-3][0-9]).*/1-2-3/p' < unformatted >theDate
That creates a file theDate with the date in it that I wish to use as the filename for this particular instance. So I would like to skip the file formatted all together and have the sed- script write to a new file using the content of the Date as a filename, but how do I make that happen? And of course it would be more elegant if I could skip the intermediate theDate file as well.

View 4 Replies View Related

Debian :: Htop Have Different Colors In Bars?

Apr 28, 2010

Why htop's bars have different colors? Still can't find an answer... And it's bars don't really correspond to the numbers. Even if CPU is loaded 60%, the bar can be loaded almost 100%.

View 3 Replies View Related

General :: How To Make Htop Sort By PID

Apr 27, 2011

How can you make htop sort the list of processes by PID?

View 2 Replies View Related

Ubuntu :: Possible To Have Htop Display A Graph In Panel Same As System Monitor Does?

Apr 15, 2010

Is it possible to have htop display a graph in the panel same as System monitor does?

View 4 Replies View Related

General :: Many Processes Listed Under Same Title In Htop / Why Is So?

Mar 9, 2010

Can anyone explain to me why there are sometimes 10 or 15 processes with the same title and "stats" listed in htop? I'm guessing there are multiple threads running - but that many of them obviously couldn't be running concurrently.

Is there any sort of performance hit taken if a process uses say, 15 non-concurrent threads vs. 10 non-concurrent threads?

View 1 Replies View Related

General :: How To Refresh Htop After Sorting (via Shift+m)

Jun 22, 2011

I love using htop, but I have noticed that whenever I sort by a parameter (for example, Shift+m for sorting by Memory usage), the htop stats stop dynamically refreshing. Is this intended? I also notice this with top as well.

View 1 Replies View Related

Debian :: Htop Showing 50+ Processes Of /usr/sbin/console?

Jun 16, 2011

This might be nothing but when booting a computer directly into the console (tty), and running htop, I expect the list of running processes to be very short, but it turns out I have more than 50 instances of /usr/sbin/console-kit-daemon --no-daemon running (see screenshot below). Is this normal?

View 2 Replies View Related

General :: Free - Top And Htop Show Different Memory Usage

Jul 12, 2011

I'm trying to meter my memory usage. When I use these different programs, they all show me using different amounts of RAM.

View 2 Replies View Related

General :: Htop - Find The PID Thats Causing The High CPU Cycles?

Dec 29, 2010

Just trying to figure out some stuff with a broken process. A java app seems to sometime get stuck on a loop or something and i'm trying to find out what's causing it using just the following #sysadmin tools at my disposal.

Things like:- htop - find the PID thats causing the High CPU cycles. I'd then want to use /proc/[PID] or lsof -p [PID] or strace [PID] etc. But the PID doesn't exist in 'ps -ef' output so I think htop must be showing me kernel level thread PIDs?

Not sure about the PID's HTOP is actually giving me? I know that some of them are the real PID's that can be accessed through /proc/[pid] etc but others are not but are i assume child processes or more likely threads as child processes are normally shown in a default ps output anyway.

Is someone able to help distinguish to me about what exactly all these other PID's are that I can't manipulate or find apart from when using HTOP.

View 7 Replies View Related

Programming :: Get System Current Status To C Program From 'htop'

Jan 17, 2010

Actually I suppose to use this "htop" command to get the system utilities like current processor speed ,running programs ,memory usage(ram and swap) to my program. I planned to get it using popen(). I was success popen("top | grep Mem", "r") with top command. But are there a way to take such information using "htop". Or are there any idea of taking current CPU,MEM,Swp usage as well as Tasks and running tasks using htop or other way to C program...

View 1 Replies View Related

General :: Get Output File From A Master File?

Aug 3, 2010

having following problem in linux environment.I have a following basic file with name " BASEFILE", as shown example below :

sl.no pol.no name status loan
1 123 rama FORCE 500
2 234 jama LAPSE 800

[code]...

View 12 Replies View Related

Fedora Security :: Keep Top/htop Running Rkhunter Showed Up Randomly

Aug 29, 2009

I like to keep top/htop running rkhunter showed up randomly. I didn't launch this. f11, 2 day old install, fully updated.

View 2 Replies View Related

OpenSUSE :: 11.3 Kde4 - Prevent Konsole/htop/bash To Use Bold Character?

Aug 9, 2010

As exposed in a previous thread : 11.3 64b nvidia kde4 : font color bug in konsole I have a problem in the konsole terminal . I chose the Fixed [misc] font and i want the size 3. But for some unknown reasons konsole wants to display some chracaters and some words in bold . As This font doesn't exist in size 3 in bold, it displays the bold characters in size 7, which is the smallest available bold size for this font set (Fixed [Misc]) . It makes any of these bold characters unreadable as they are too large compared to the room they have to be displayed. How can i prevent konsole , bash , htop or any program responsible for this behaviour, to display such bold character ?

View 3 Replies View Related

Ubuntu :: Sort The Output To A Text File So That It Prints To The Text File At 1 Process Per Line?

Feb 6, 2011

im trying to output a list of running processes via a shell script. At the moment i got this which outputs the processes to a text file called out.

echo $(ps aux) >>out

The problem is though, the processes are all just one big block of text which makes it hard to read. Does anyone know how to sort the output to a text file so that it prints to the text file at 1 process per line? I know its probably simple but im very new to linux.

View 5 Replies View Related

CentOS 5 :: Error: Missing Dependency: Rtld(GNU_HASH) Is Needed By Package Htop

Nov 26, 2009

I don't know if this is the right place to do this so I will try. I have noticed a lot of posts around the web with the same problems, so I guess this is something that is common, you think it would be fixed by now but anyways. Almost constantly when I try to install a new package with yum in my system it almost always gives me a dependency error, this is the latest one when I try to install HTOP:

Error: Missing Dependency: rtld(GNU_HASH) is needed by package htop
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package htop

View 4 Replies View Related

Server :: NFS Large File Copies Fail - Error Writing To File: Input/output Error?

Jun 27, 2009

I recently upgraded my file/media server to Fedora 11. After doing so, I can no longer copy large files to the server. The files begin to transfer, but typically after about 1gb of the file has transferred, the transfer stalls and ultimately fails with the message:

"Error writing to file: Input/output error"

I've run out of ideas as to what could cause this problem. I have tried the following:

1. Different NFS versions: NFS3 and NFS4
2. Tried copying the files to different physical drives on the server.
3. Tried copying the files from different physical drives on the client.
4. Tried different rsize and wsize block sizes when mounting the NFS share
5. Tried copying the files via a different protocol. SSH in this case. The file transfers are always successful when I use SSH.

Regardless of what I do, the result is the same. The file transfers always fail after approximately 1gb.

Some other notes.

1. Both the client and the server are running Fedora 11 kernel 2.6.29.5-191.fc11.x86_64

I am out of ideas. Has anyone else experienced something similar?

View 13 Replies View Related

Ubuntu :: Saving Output In File

Feb 16, 2010

I am using system() command to save command output in txt file and i am storing in one character variable.

For example Code: system("ls>output.txt"); but what should i do when i have to save another one command output in the same txt file continuously, for example

Code:

The output of these 2 commands should come in one txt file continously it should get over write.

View 1 Replies View Related

Ubuntu :: Capturing ALL Output From Terminal To File?

Apr 17, 2010

I would like to capture all output spewed to a terminal session including processes that are terminated that were invoked from a script running in a terminal window. this is beyond capturing just stderr and stdout . for example

{
./script
} 2> stderr.cap 1>stdout.cap

if script is terminated (including because of memory violations) I get spewed output to the terminal I would like to capture that spewing to a file automatically or to a bit bucket /dev/null Is there another filehandle which can be redirected to do this? If so how or is there another way???

View 3 Replies View Related







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