Usually to view individual cpu % we press '1' in the interactive mode of top.
However I am not able to figure out the logic to get the same output in batch mode i.e,
top -n1b
I am redirecting this output to a file to view it later and stuff like that, so I need the batch mode. Is it possible? Installing a separate tool for this is not gonna be possible.
I'm looking for an option that I am missing or some way to capture the output.
We have quite a few SEO clients who require multiple IPs which are all from different class c allocations. (10 - 50 IPs) used for projects lasting weeks to months at a time. Since we don't have connected IPs in ranges we can't use the range scripts but I don't know of a way to easily add a long list of individual IPs. These are CentOS servers, by the way
I have captured a file in my linux showing logs captured from many modules concurrently. Please find attached a sample of the file. As you see, there are logs from individual modules that have been captured concurrently. For example, there are logs from IPTR,SNMP,HLR,TCAP,XAPP,and SCCP modules but they are coming concurrently.Each log has the header name of its accompanied module in the beginning. I need to have the log of each modules separately. Can you please show me the power of linux on how to separate individual module's logs from the whole?
i have an ntfs mount that i wish to change permissions of individual directories.i have mounted many ntfs volumes successfully, mounting is not the issue. the issue is that when mounting, i need to specify 'blanket' permissions, owner, group etc. i have no idea how to change permissions for individual folders.
I am new in perl, i have a question i.e 'How to read individual logs from linux server into another log file using perl script', I need to capture the individual logs from different paths and output the result of those log files and store to a file in another location.These Logs are generated in Linux Server..
It does not send mail if I only add contact_groups in host definition.
Code:
define host{ use generic-host ; Inherit default values from a template host_name NAME1 ; The name we're giving to this switch address XX.X.X.X ; IP address of the switch
currently there's a xxx dir already in /home/yyy I'm trying to overwrite itcp -fr ../xxx /home/yyy/doesn't work still prompts me to overwrite the individual files. how do I fix it?
I have ~200 c files in my makefile[$(SRCS)], and it compiles all of the files using a single gcc command. So each time I make a change in one c file, it ends up re-compiling all the files, then linking to make the binary. How can I break out the compilation into individual gcc commands for each c file, so that make checks the timestamp and accordingly compiles only the modified files.
I have a database (Mysql) with records of our club members. It is quite small only about 300 records. Unfortunately there are gaps in the information and I would like to be able to print out (two records to an A4 sheet) the records in form format so that I can pass these to the members who will fill in any blanks in the record.
If it is not possible to do what I want from the database I can convert the records to a spreadsheet and do it from there.
I am using squid proxy server for sharing Internet in my internal network. I would like to know that how can I check the browsing history by individual users web surfing history by their IP addresses?
i have a large directory of .bsp files that i would like to convert .bz2 archives. I've been searching for some time and all i can find is the obvious compress multiple files into one large archive. If anyone knows how to convert each file individually, while retaining the original file name (testmap.bsp would be archived as testmap.bsp.bz2)
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
I'm actually asking this on behalf of a friend but I was wondering if there was a way to change individual backgrounds on each window (the ones in the bottom right hand corner) instead of the background changing for all of them
Just installed Fedora 12. After installing a new distro, I usually remove the individual programs that I have no use for or interest in. In Fedora, I've noticed that, for KDE at least, I can't remove just one program I have to remove the whole "group" of programs. For example, I might want only one game on my system and remove the rest but KPackageKit only allows to me to remove KDE Games (all of them) instead of just the programs I have no interest in. This is not the same as other distros I have tried. Is there a way around this?
how to delete or replace specific OSs in a Ubuntu ( 3 versions ) and XP multiboot set up
I want to make sure I leave my Ubuntu Studio 9.04 partition intact and replace the other 3 OSs incl Winodze XP with a fresh install of Ubuntu Studio 10.04 or 64Studio, alongside the intact UStudio 8.04.
Ive backed up Home folders which are important to me.
I'm a newbie who has just installed Maverick on my old HP box and I have to say I'm hugely impressed. I have 2x 160Gb drives in the machine, is there a utility which will let me backup/mirror certain directories automatically, whilst still being able to utilise the remaining space on the second disk?
This sounds like an old topic. I have an active user account in my system that I don't want it to be listed in GDM greeter. In the past (prior to Gnome 3), it can be achieved by configuring the "Exclude" option of the "greeter" section in the Custom.conf or by creating the user account with UID smaller than MinimalUID. But it seems the same old trick does not work for me in Gnome 3. I have tried the "Exclude" option with no effect at all. Using the UID approach only solves my problem partially, as it only exclude it in the GDM greeter during "switch user" but it still being shown in the list in the initial greeter after a cold boot.
I have a RAID 1 that is mounted and working. But for some reason I can also see the individual drives under gnome Devices on gnome-shell. Is there a way to hide them from gnome or linux in general. (So only the raid 1 can be seen)
I'm using Screenlets in ubuntu 10.04 and I have a problem with screenlets behavior. I played around with it a little while and I guess I messes something, because now whenever I log in some screenlets load twice and I have to clean them manually. Where can I view the config for each individual screenlet?
I just installed ubuntu 10.04 LTS on my Acer Aspire 5745. The installation was successful. However, I found that my internet is not working. Later I realised that there are no ethernet drivers. The one that I need is Atheros AR8151 PCI-E Gigabit Ethernet controller(NDIS 6.20). My wireless is also not working. This one is a Broadcom 802.11n Network adapter.On googling, I found this thread : URL...
To install the driver first, I had to do build-essential and headers-generic. Since I have a desktop, i thought of manually downloading the packages on my desktop and then transferring it to the acer. But i came across many dependencies for build-essential, that is, I first had to install something else before build-essential. The dependencies led me to further dependencies and so on. Is there any way for me to get all the packages without downloading each individual ones?
Running Meerkat on Sony Vaio laptop, with Firefox as the browser of choice.The BBC News website has a "My Location" setting, and shares it automatically with the BBC Weather page for a local forecast.Is it possible to clear the Browsing History, yet save the one individual cookie that is used for this ?
While I'm a fan of Gnome, I'd prefer if the user "kids" logs in as KDE by default. Is there any way to toggle which desktop environment it automatically logs in to?
I'm using a multiple monitor setup, and I'd like to use a different wallpaper on each monitor. The default background selector, however, puts the same picture on every monitor. I've tried the application 'nitrogen' from the repositories which claims to be able to do just that, but it doesn't do anything.
is there a way to lock an individual cell in libreoffice? I can lock/protect a whole document or sheet, but can for the life of work out how to lock an individual sheet.
It's been a while since I did any kind of graphics programming, but I would like to start learning how to do graphics stuff in *nix. I started reading the GTK+ 2.0 Tutorial, but a) I've only been able to write a small "Hello World" program, and that tested my patience, and b) I'm not seeing anything which allows you to plot a pixel directly. Back before I migrated to Linux, I used the Windows GDI SetPixel() function for plotting pixels sequentially (this was for a small fractal generator). Mostly what I'm asking is if there's any kind of equivalent function in *nix graphics APIs? GTK+? Would I have to deal with SDL/OpenGL?
I am wanting to startup some programs when I first login with a certain user, but I don't like using KDEs builtin autorun system as I have to go through menuust to edit my programs. Is there not a rc.local for each home directory