Red Hat / Fedora :: Using The Ps Command With Options "ps -eo Pri, Ni, Cmd"?
Mar 13, 2010
I am currently using the ps command with options "ps -eo pri, ni, cmd", I would like however to display the output form the highest to lowest priority. I can not however figure out how to do this, I have searched all over the place!Another question, say for example I have a process and I would like to decrease the priority of that process by 10 (without knowing the original priority)
I was in the CLI experimenting with lynx and then I thought let's see what this dd thing can do and usually when I run commands without parameters just gives me an brief idea about what can I use. With dd it just hangs on there like it would be doing something ...
I immediately quit that terminal and then I couldn't mount my ntfs big important lifesaver partition. I rebooted and now I can. I just want to ask what damage could dd make if run without any parameters. I don't have any external backup medium.
I install software called Sunflow v0.07.2 in my Ubuntu. When I try to run it,it says "API error : JVM available memory is below 800 MB (found 728 MB only). Please make sure you launched the program with the -Xmx command line options". What is that xmx command line.What should i do to run Sunflow.
I'm having a hard time trying to print documents to PDF via cups-pdf at the command line and get all of the nice formatting options that the GUI print spooler dialogs provide. I know how to do "lpr -P Generic-CUPS-PDF-Printer filename" to get a general file printed to a PDF, but this method clearly is missing all of the nice formattingptions that get passed when using a GUI print spooler (margins, fonts, dpi, paper size, etc..). I tried to use ps to capture whatever command is being sent by the spooler but couldn't figure it out, since I'm not really sure what commands get called by the spooler
I thought about this a while ago when reading through a Python tutorial and I googled some and couldn't find an answer. Now I want to know it for Ruby, also, and it's more important now because I want to invoke Ruby with -w.
How can you use:
Code:
with a -w option to ruby, like:
Code:
This doesn't work and I can't find an explanation of how to do it.
when i show status ricci on centos5.3x86_64 #service ricci status pidof: invalid options on command line pidof: invalid options on command line p is stopped how can i fix that bug ?
(1) I'm wondering if there is a way to have abcde play the songs while it is encoding? I understand that this would be a lot slower.
(2) Is it possible to have abcde start playing right after it finishes ripping the first track and then have it add on the other tracks to the playlist as it rips them.
Is there anyway to do one or both of these from the command line or with abcde's built-in options?
But how do I mount the sdc drive with those options from the command-line without restarting? I've tried to do so with 'mount' utility, but had no luck.
I have an executable with input options, like so: Code: ./executable -n 42 -s 42 I've added gcov to the makefiles (compiling with --coverage, -fprofile-arcs, and -ftest-coverage, and linking with -lgcov). It builds fine and creates executable.gcno.
When I try to run gcov, gcov things the options belong to it: Code: $ gcov ./executable -n 42 -s 42 gcov: invalid option -- 's' Usage: gcov [OPTION]... SOURCEFILE... When I use quotes this happens:
So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.
Is there a way to use configure options with yum for packages? For example, i've got a lamp setup, and right now (after installing F11) i got a msqli class not found error, which means that it is not loaded into php. I see that it can be reconfigured with certain options, but i yummed it, and i'd like to keep it that way. I tried a yum reinstall, but it didn't work.
Had dual boot with Fedora 12 which still is fine but after my hard disk failed (ntfs) with all my data have been unable to access XP which is installed on the same disc as Fedora.
Device Boot Start End #cyls #blocks Id System /dev/sda1 0+ 1136- 1137- 9126912 7 HPFS/NTFS /dev/sda2 * 1136+ 1161- 26- 204800 83 Linux
I have windows7 with partition of C:40G, D:40G, E:70.I want to install fedora15,so I use the tool "Disk Management" of win7 to shrink E:.Then I have E:60G and 10G unallocated.
I use Liveusb-creator and boot from usb.It works well and I can use fedora15 just like livecd.But when I install fedora to hard disk,I meet a problem and I don't know how to solve it.
The installation procedure comes "Which type of installation would you like?".There's five options 1."Use All Space" 2."Replace Existing Linux System" 3."Shrink Current System" 4."Use Free Space" 5."Create Custom Layout".I've already got 10G unallocated space,so I select "Use Free Space".But the problem is that the fedora installer popups a messagebox says something that means that I don't have enough space to allocate to fedora15.
I come back to "Which type of installation would you like?" and select "Create Custom Layout".The installer display 4 entries of my hard disk:sda1 unknown 0M, sda2 100M windows remain partition, sda3 with capacity 39900M, sda4 with capacity 112625M.The partition display of my hard disk is so strange and there is no free space.
Is the problem of win7 "Disk Management" or "Fedora Installer"? How can I really get some free space to install fedora15?
I am running the RedHat 7.3 install off a CD to put the system on an IDE flash drive. The flash drive appears as /sda1 on my system during installation. When I install the bootloader from the install CD it gives me the option of MBR on /hda which I do not want do. I select /sda1 and it puts the bootloader on first boot sector (not the MBR?) Although the installation works, is what I am doing creating a bootable primary hard drive? The flash IDE drive needs to be installed in an embedded system so my installation options are very limited i.e. the system does not have a CD-ROM or floppy to boot from. Are there options to put GRUB on the MBR of /sda1 during installation? Such as, with fdisk or the "force disk primary" option? Or, doesn't it matter?
The problem I'm facing is that I can't use my headphone. Sound works, but not the headphone. See my ealier thread. It was suggested to edit the module options, but I don't quite know which buttons to push.
i am running windows and fedora 12..both are working smooth...today when i switch on the laptop in morning i discovered that it automatically start windows..when again i restart it..it does not give any option to me for selecting which OS to run..i have seen grub.conf file it is right...i have done nothing...windows is booting smoothly..how can i boot to fedora 12 without reinstalling.
how do I edit my kernel boot options permanently? I need to keep adding "nodmraid" to my grub kernel options on each boot... what file do I edit to make it permanent?
Been a while since I've been on here, but I was using Fedora 12 for the longest time and only recently started having problems. I kept getting errors and pop-up dialogs telling me to run yum-complete-transaction, which I tried as root many times. It would then give an error that it couldn't locate the repository and such. So, I looked through all my yum config files and changed a few things until I FINALLY got the command to do something, only it did all kinds of strange things as I was running low on EXT3 disk space and using old Windows' partition to store a lot of things on.
Now, I backed up all the /home directories and files as well as /root, just in case this didn't go smoothly and I still ran out of disk space. If I had the money, I'd buy a storage stick and just back up everything, but that's not an option at the moment. Now I have a crippled version of XP (pretty much useless from a trojan, even though I had McAfee AND Windows Defender running), and half of Fedora 12 with 2 different boot images! When I first did this, I used a 10G partition to install Fedora, which was plenty then. What's left of Win still resides on about 65G of space, but I have a lot of files there I want to keep. Fisrst thing I want to know is, should I look anywhere else on the Fedora disk to find files I may need, just in general? There's still a LITTLE space on the drive to back up stuff if I need to.
Second, while I still had enough to work with, I managed to download and burn a F14 Live CD, which is running now. I saw the option on the desktop to install it, and can get my config files and such from the backups if need be. I do NOT have a DVD burner, so if I have to I can use regular 700MB CDs, but only if they are available.The next thing I need to know is if I can install F14 from the web, without having to download any more ISOs, (again, assuming they are available). I know all my DSL settings so that's not a problem, I just need to find out if I can install it that way before I go clicking that icon. Anyone with experience with this would be helpful. I'm ready (MORE than ready) to go through with it, I just don't want to get "stuck" once I start the process. My download rate is around 200k/sec, so it's going to take some time no matter which way I (can) go.
I used the usual 'mkfs.xfs -l size=128m,lazy-count=1 /dev/sdX' at creation. After that, I would like to use custom mount options like: This goes instead of the "defaults" part in /etc/fstab
I receive the following error at boot: INVALID log iosize 4 [not 12-30] << No one used iosize 4... what does it mean? it is connected to the options..but which one? (At the minute I'm usig it with: noatime,nobarrier).
My Fedora 10 will no longer give screen res above 800x600 (60hz)I routinely change screen res (due to having two different monitors) but I made no hardware changes immediately before the problem began. In other words: the hardware was the same as it had been the day before the problem arose.I assumed a hardware fault, so I tried with XP. Weird: I can set higher resolutions there without problem.Any idea why this happened and how I can fix itBTW, I've been a Linux user for some years, but I would describe my skill level as: 'novice.'
Has anyone EVER been able to run this particular command? Well I seriously need to run it for the gdm installation on my system. How to specifying the the url to get that package_file? I installed this system from the fc8 live cd -- are the files I need on that disk?
Installed Fedora 12 from a DVD on clean HD. When I rebooted after the install it bought me back to the install options page. If I remove DVD it asks to put it back in so it can boot but it goes back to the install options page. What should I check or do?