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


ADVERTISEMENT

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

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 :: 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

General :: Sorting A File With A Variable Name?

Jun 27, 2011

I am trying to sort a file, so I can compare it to another file later. I am storing the file name in a variable called curMo. I then call sort $curMo and it hangs for a very long time and I have to quit the process. why this is not working or how to make it work?

Here is part of my code:

#sort this file for this Location
sort -u $curMo -o $curMo.sorted

View 1 Replies View Related

General :: Sorting Files In A Directory?

Jan 6, 2010

I have some files in a directory like

file1.txt
file10.txt
file2.txt

[code]...

View 5 Replies View Related

General :: Sorting A First Non-numerical Column In A File?

Jul 13, 2011

I have a file like:

ER- V67
ER+ V68
ER- V69
ER+ V70

[Code]....

I am using the code:

sort -k1

but it prints it by sorting the second column.

View 8 Replies View Related

General :: Sorting In Aggregate Rather Than Tree Fashion With 'ls -Rt'?

Apr 28, 2010

The command: Code: ls -lRt Shows a recusrive listing, and sorts by modification time. But this in in tree fashion, where it first lists the contents of the current folder sorted by time, and then the contents of each child folder sorted by time. How would one accomplish this type of sort, but with an aggregate listing - all items recursively sorted together, rather than by individual folder?

View 3 Replies View Related

General :: Sorting In Vi Editor & Copying To Clipboard

May 6, 2010

(1)There should be a command to send content to clipboard instead of 36 buffers available in vi just like ':set paste' allows pasting from clipboard inside vi using ctrl+shift+v in insert mode.(Currently I select area using mouse & right click then copy )


2)Let us say I have sentence "I am young" I want to arrange the words in this line in alphabetical order so that I get 'am I young'. First I thought replacing space by in sentence.Then !#j then type sort -n where # represents number of words.Then #J to join the filteredlines.It works but now I have file with hundreds of sentence of varying length.If I make a macro how will it know the number of words?

View 9 Replies View Related

General :: Sorting Output By A Column With Numbers And Letters

May 22, 2011

I have a program that prints out lines like:

And I want to be able to pipe it to sort on that third column, by letter first, then number. But I keep coming getting files sorted like:

(field separations all start at same place, so columns are not jagged like above.)

I have read the sort man pages, and have tried -n for the numbers, and -k for the position to start sorting, among other things. I also tried inputting a second position to start sorting, which sort should supposedly refer to if the two entries are identical at the first place being compared, but it seems to just ignore the second one. I just can't get it to sort the numbers properly...

For now I am manually opening the file in emacs and changing them around, needless to say, very time consuming.

View 13 Replies View Related

General :: Display String In Row / Column - Time Sorting Operation?

Aug 13, 2010

1. Given a string, row no. and col. no., I want to display it in the screen appropriately. how to do this?
2. How can I find the cpu processing time taken in carrying out the sorting task (any sorting program)?

View 4 Replies View Related

General :: Include Special Characters When Sorting Files By Name (Fedora 12 I386)?

Feb 15, 2010

I am dragging my files over to a new Fedora 12 installation and I just noticed that special characters are not taken into account when sorting files by name (I want '_js' to come before 'images').Is there a way to make the sorting process behave like Windows, where files starting with a special character are listed first?

View 5 Replies View Related

General :: How To Map Shift+Del To Backspace

Feb 23, 2011

One of the very few things I miss from Windows is that when you press LeftShift+Del the delete key acts like the backspace key, in other words you can use Del to delete forwards and LeftShift+Del to delete backwards.

I've been reading man pages such as xmodmap and used xev to get keycodes but I can't work out how to map LeftShift+Del to Backspace.

Can someone tell me how to do this please?

View 4 Replies View Related

General :: Use Shift Or Esc To Run It To Select Ubuntu?

Jul 29, 2011

it has installed correctly and asked me to reboot my computer so i did but it automatically boots Windows7 and i dont seem to get a choice, i read up on GRUB 1.99 and it says i have to use shift or esc to run it to select Ubuntu, i did this but shift didnt work, tryed esc but i only caught a glimpse of what i think was GRUB before the computer restarted.

View 1 Replies View Related

General :: Shift / Home To Separate Partition?

Sep 2, 2010

Is there a way to move /home to a separate partition?
also, i would like to know if the /home partition can be fat32 or ntfs.

View 1 Replies View Related

General :: Making The SHIFT Key Behave Like That Of Andriod - IOS

May 17, 2011

I want to disable the CAPS LOCK key and replace it by pressing SHIFT twice in quick successions (like you do in Android and iOS devices). Disabling the Caps Lock key is easy using xmodmap but is it possible to do what I want to do with the SHIFT key?

View 1 Replies View Related

General :: Remapping Caps Lock To Shift?

Nov 17, 2010

I want to remap the Capslock key to a Shift key. The reason being is the UK keyboard has a very large Caps Lock and a alpha size shift. I have been looking everywhere and there is a lot about turning it into a CTRL key but I don't understand. Can you give me simple instuctions I don't know what keycodes to use and what file to edit.

View 5 Replies View Related

General :: Emove Opensuse 11.00 Completely To Shift To Other Versions?

Jul 14, 2010

I want to remove my opensuse 11.00 completely to shift to other versions.

View 4 Replies View Related

General :: Convert A Text File From Shift JIS To UTF-8 And Back From The Terminal?

Jul 21, 2011

In order to make this conversion I have to use a text editor. This is tedious. Is there an easier way to do it, like some program I can run from the Linux or OSX terminal?

View 1 Replies View Related

General :: Keyboard Activating SHIFT Randomly For A Short Time

Feb 14, 2010

I think this might be related to the changes to using udev or DeviceKit. It started when I was running the beta versions of F12. Then it crept into Debian Sid. And my Arch Testing and Gentoo also suffer from the same.

What happens is that I'll be working along. Then when I press any key it is as if the SHIFT key is pressed. When I press CAPSLOCK, some of the keys react as they would normally. This never lasts for more than 5 minutes. And seems to happen infrequently. I say seems because there are the times I am at work and it could be that the same thing is happening only there is no one on the keyboard.

The reason I pick out udev/DeviceKit is that when it used to happen to F12 beta, the other distros had not yet made the move. So back then it was only a F12 issue. Now it is happening across the board. And only started recently.

View 3 Replies View Related

General :: Cannot Use Ctrl-Ins And Shift-Ins Shortcuts For Copy And Paste In Console Terminal

Jun 29, 2011

I installed Slackware 13.37 current 32 bit (kernel 2.6.38.7-smp) last saturday and almost everything works fine. I don't understand why I cannot use Ctrl-Ins and Shift-Ins shortcuts for copy and paste in console terminal. Shortcuts works fine in X terminal (fluxbox) Konsole... but they don't in text console.

View 2 Replies View Related

General :: Unable To Use Shift + Insert To Paste And Copy Using Text Selection?

Mar 9, 2010

know what can be done to enable the "select text to copy" and "shift+insert to paste" features in linux.

View 2 Replies View Related

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

General :: Cannot Change The Refresh Rate From 60 Mhz

Aug 9, 2010

First off I am dual booting Windows 7. While in Win7 I have absolutely NO monitor issues. Since installing 10.04 I get a shaky unreadable display. To remedy the situation temporarily I have adjusted the resolution to 1200/800 but this is not a fix just a band aid. I should be able to run 1920/1080. As soon as I do this I get the shaky screen. I cannot change the refresh rate from 60 mhz. Again I am apprehensive by posting this because I have been flamed in other forums simply for being a noob and not knowing what to do but I would love to tap into the resources of you more experienced members.

View 2 Replies View Related

General :: Merging And Sorting Multiple Files With "sort"?

Jun 3, 2010

I have a bunch of text logfiles in the following format:

ID (17 characters)
Timestamp (14 characters YYYYmmddHHMMSS e.g. "20060210100040" -> 2006/02/10 10:00:40)
Random data (? characters)
end of line

The files are already sorted by timestamp.I need to get 1 log file with all the logs from multiple logs files, sorted by timestamp. Note that the log files are really huge, around 3-4G each (and there are dozens of them) I tried the following command:

sort -s -m -t '|' -k1n,1n +17 -o data_sort.txt *.TXT

Here is how I ended up with this command:

-s : don't bother with tie results
-m : merge all logs files
-t '|' : there is no | in my logs, so the whole line should be field 1

[code]....

Actually... it fails miserably. The output file data_sort.txt is just the concatenation of all files, not sorted at all.

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

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 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

General :: Set Monitor Refresh Rate In Script?

Aug 12, 2010

I'm running the great game "Capitalism Plus" w wine. This is really a Win-95 game but it runs fine under Wine (a big benefit of Linux, you can run those old Windows games again, which is impossible under WinXP...)

Anyway, here's the problem: The game runs only in 640x480. My monitor is a 22" widescreen 1920x1080. When I start Capitalism, the resolution changes to 640x480 which is fine. However, the refresh rate is 75Hz, which minimizes the actual / active screen to a small window in the middle of the monitor. (Not only for the game, but for the kde desktop.) When I set refresh rate to 60Hz (using krandrtray) everything is fine.

So here's the question: Is there any way I can create a bash-script that sets the refreshrate to 60Hz?

I'm running kde3.5, Debian Lenny on a AMD64 with ATI:s fglrx.

View 5 Replies View Related







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