How Nice are Your Running Processes – Renice Them
The command to set the importance of a running process is called “nice”. The nice rating of a program determine how quicky and the priority in which running processes are handled by the CPU. If a process has a nice value of 19 it will essentially allow any other process to be handled by the CPU before itself. If a process has a nice value of -19 it will take control of the processor at any time. System processes mostly have a nice value of -5. Init and other processes are set at 0. User processeses are also given a 0. I set my virtual machine to the same as regular system processeses, -5. This is because the virtual machine is essential just as important as host system processeses and contain system processeses itself. For my MythTV server I set it at +10; I don’t want it getting in the way of my web server or the host system itself, in any way whatsoever. Even higher I set the Myth frontend to +19 and throw it on another viewport. I use the Myth frontend to schedule recording, not necessarily to watch videos; thats what my Mac mini is for connected to my HD TV
If you want to change the nice value of a process use renice. An example of this is: sudo renice -n 19 -p 16151 for -p you must put in the PID of the running process. You can use “ps” to determine the PID of a process. For example use: ps aux | grep mythfrontend.real You can also use “top”. Which gives you an updating realtime list of running processes.
No comments yet.
No trackbacks yet.
VirtualBox Manager Pro – Machine Status Check Plus More
May 26, 2010 - 12:36 pm
Tags: apache mysql, check, host, information, machine, new menu, Plus, random users, ui thread, virtual machines
Posted in Manager, machines, oncreate, pro, ui, virtual, virtualbox | No comments
Added to VirtualBox Pro is status checking. When you login to the host your virtual machines are displayed with on/off information. In the onCreate a thread is launched that scans the server for machine status; it then updates the UI thread accordingly. I’ve also added header icons to replace the default one, and a new [...]
VirtualBox Manager Pro – Public Key Authentication
May 18, 2010 - 9:38 am
Tags: application, encrypted authentication, encrypted login, encryption key, host, host machines, machine, Manager Pro, Manager. The, Manger, virtualbox
Posted in Android, Manager, bit, dsa, encrypt, market, pro, virtualbox | No comments
VirtualBox Manger was released a couple of days ago offering ssh access to remote host machines. The application controls up to seven virtual machines on the host machine. Up to seven different host machines can be configured in VirtualBox Manager. The standard application was released for free, and it will remain free. The current version [...]
VirtualBox Manager – Version 44MPG
May 17, 2010 - 9:22 am
Tags: bug, cleanup, code, code cleanup, header images, input data, keyboards, machine, page, stable release
Posted in Manager, code, oncreate, rsa, virtualbox | No comments
VirtualBox Manager was released two days ago and several updates have been published since then. I have fixed a bug on the delete hosts page Enhanced the header images on the delete hosts page and machine page Tweaked the keyboards in the input data menus Added references to the host as well as the machine [...]
VirtualBox Manager – Whats Next?
May 16, 2010 - 2:32 pm
Tags: application, control menu, host, host control, level application, machine, menu, mininum, relevant servers, service
Posted in Apache, Manager, Mysql, Sendmail, Server, machine, password, virtual, virtualbox | No comments
There is a small bug on the delete hosts page that will be fixed. I’m going to keep the max number of hosts, at this time, to 7 to support smaller screens without having to rewrite the code to support multiple pages of hosts. I’m going to add, at mininum, an additional class where I [...]
Fstab – Manual Mounting and Udev Auto
March 7, 2010 - 9:26 am
Tags: automount, cd iso, fstab, iso, iso images, linux distributions, samba shares, System, udev
Posted in fstab, mount, udev | No comments
Modern Linux distributions use udev which automount partitions to the system. This is most notably seen with usb device that are the predominant hot swappable media. Internal hard drives, particularly drives that are used to boot the system, have their mount points defined in the fstab file. Fstab is automatically generated during the Debian/Ubuntu installation [...]
Remote Server Management in Local Facility – LTSP
February 13, 2010 - 9:26 am
Tags: boot sequence, dhcp, dhcp servers, domain default, local ip, ltsp, machine, Server, server option, sudo
Posted in Server, inet, ltsp, tftp | No comments
I’m using LTSP to manage a server remotely in a local facility. I setup an LTSP server on the host machine, and will place it in an air-conditioned room to preserve longevity. I configured a machine, of much lower power, to PXE boot from the server. There are several nuances to setting up an LTSP [...]
Sendmail – Critical to Receive System Alerts
February 10, 2010 - 9:02 am
Tags: default sendmail, email, external mail server, forward works, local ip, mail, relay mail, Sendmail, System, user
Posted in .forward, Sendmail, access, alert, aliases, home, user | No comments
Image via Wikipedia The core of Linux is designed to mail, at minimum, the root user of various system alerts. With sendmail installed these alerts are mailed to the respective user directory. If you have an external mail server you can configure your local user mail to be forwarded to any email address. The easiest [...]
Lock Down IP Addresses – SSH and Else
January 26, 2010 - 12:07 pm
Tags: 192, ALL, everything, hosts, ip addresses, machine, sshd, use
Posted in Server, deny, ip, rule, ssh | No comments
If you know the IP addresses that will be connecting to your machine, lock them down. Use the hosts.allow file as follows. sshd : localhost : allow sshd : 192.168.3. : allow sshd : 192.168.1. : allow sshd : ALL : deny Using sshd : ALL : deny and listing various allow rules blocks everything [...]
Detecting a Security Breach – Ubuntu and Linux Machine
January 25, 2010 - 12:46 pm
Tags: active processes, attempt, linux machine, login, login attempts, machine, password, root, security breech, ssh access
Posted in access, backup, breech, detect, linux, login, root, security, ubuntu | 3 comments
Detecting a security breech is sometimes as easy as logging into the machine, using ssh, and viewing the last login attempt from a completely unrecognized ip address or domain. Subsequently check your auth.log file, in /var/log, for login attempts. If you see countless failed login attempts you have been the victim of a brute from [...]
Server Security – Passwordless Remote Login
January 24, 2010 - 4:15 pm
Tags: accessible system, ban, login, login attempts, rsa, rsa keys, ssh, ssh ftp, ssh server, System
Posted in Server, fail2ban, login, remote, rsa, security, ssh | No comments
Based on some recent experience do not ever allow password remote login. There are two things you chould apply to your ssh server. Implement a RSA key login, and implement fail2ban. Fail2ban will modify iptables (firewall) to block the ip address of offending attempts to connect. It will do so for your apache, ssh, ftp, [...]
