Also, please stop editing your posts to add new information, or I won't get a notification about it. It also makes it really difficult to follow the thread logically, because the chronological order is messed up.
Announcement
Collapse
No announcement yet.
Someone turned my desktop into a server
Collapse
This topic is closed.
X
X
-
Here is the output you asked for ie : postfix. I installed MDADM to see if I could learn a little about software raid, it looks like postfix was pulled in I am assuming.cat /var/log/apt/history.log | grep -C 5 postfix
As for your commandCode:rafal@rafal-desktop:~$ cat /var/log/apt/history.log | grep -C 5 postfix Purge: python-twisted-web:amd64 (13.2.0-1ubuntu1) End-Date: 2014-10-08 18:42:11 Start-Date: 2014-10-09 02:08:10 Commandline: apt-get install mdadm Install: postfix:amd64 (2.11.0-1, automatic), mdadm:amd64 (3.2.5-5ubuntu4.1) End-Date: 2014-10-09 02:08:29 Start-Date: 2014-10-09 02:09:06 Commandline: apt-get remove mdadm Remove: mdadm:amd64 (3.2.5-5ubuntu4.1) End-Date: 2014-10-09 02:09:15 Start-Date: 2014-10-09 02:09:30 Commandline: apt-get remove postfix Remove: postfix:amd64 (2.11.0-1) End-Date: 2014-10-09 02:09:31 Start-Date: 2014-10-09 02:15:38 Commandline: apt-get install mdadm Install: postfix:amd64 (2.11.0-1, automatic), mdadm:amd64 (3.2.5-5ubuntu4.1) End-Date: 2014-10-09 02:15:52 Start-Date: 2014-10-09 18:10:37 Commandline: /usr/sbin/synaptic Upgrade: apt:amd64 (1.0.1ubuntu2.4.1, 1.0.1ubuntu2.5), apt-transport-https:amd64 (1.0.1ubuntu2.4.1, 1.0.1ubuntu2.5), apt-utils:amd64 (1.0.1ubuntu2.4.1, 1.0.1ubuntu2.5), libapt-inst1.5:amd64 (1.0.1ubuntu2.4.1, 1.0.1ubuntu2.5), bash:amd64 (4.3-7ubuntu1.4, 4.3-7ubuntu1.5), libapt-pkg4.12:amd64 (1.0.1ubuntu2.4.1, 1.0.1ubuntu2.5) -- Upgrade: libmuonprivate2:amd64 (2.2.0-0ubuntu3.1, 2.2.0-0ubuntu3.2), libegl1-mesa:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), libpangoxft-1.0-0:amd64 (1.36.3-1ubuntu1, 1.36.3-1ubuntu1.1), libopenvg1-mesa:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), libegl1-mesa-drivers:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), makedumpfile:amd64 (1.5.5-2ubuntu1, 1.5.5-2ubuntu1.1), muon-discover:amd64 (2.2.0-0ubuntu3.1, 2.2.0-0ubuntu3.2), libpango-1.0-0:amd64 (1.36.3-1ubuntu1, 1.36.3-1ubuntu1.1), gir1.2-pango-1.0:amd64 (1.36.3-1ubuntu1, 1.36.3-1ubuntu1.1), kexec-tools:amd64 (2.0.6-0ubuntu2, 2.0.6-0ubuntu2.1), libgl1-mesa-dri:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), tzdata-java:amd64 (2014e-0ubuntu0.14.04, 2014i-0ubuntu0.14.04), libpangocairo-1.0-0:amd64 (1.36.3-1ubuntu1, 1.36.3-1ubuntu1.1), libglapi-mesa:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), muon-notifier:amd64 (2.2.0-0ubuntu3.1, 2.2.0-0ubuntu3.2), openjdk-7-jre-headless:amd64 (7u65-2.5.2-3~14.04, 7u71-2.5.3-0ubuntu0.14.04.1), libpangoft2-1.0-0:amd64 (1.36.3-1ubuntu1, 1.36.3-1ubuntu1.1), libgles2-mesa:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), libgl1-mesa-glx:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), libpango1.0-0:amd64 (1.36.3-1ubuntu1, 1.36.3-1ubuntu1.1), libwayland-egl1-mesa:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), openjdk-7-jre:amd64 (7u65-2.5.2-3~14.04, 7u71-2.5.3-0ubuntu0.14.04.1), libgbm1:amd64 (10.4.0~git20141017.9ebfb301-0ubuntu0ricotz~trusty, 10.4.0~git20141023.065256df-0ubuntu0ricotz~trusty), icedtea-7-jre-jamvm:amd64 (7u65-2.5.2-3~14.04, 7u71-2.5.3-0ubuntu0.14.04.1), tzdata:amd64 (2014e-0ubuntu0.14.04, 2014i-0ubuntu0.14.04), muon-updater:amd64 (2.2.0-0ubuntu3.1, 2.2.0-0ubuntu3.2) End-Date: 2014-10-24 09:04:19 Start-Date: 2014-10-25 17:16:36 Commandline: /usr/sbin/synaptic Purge: postfix:amd64 (2.11.0-1) End-Date: 2014-10-25 17:16:38 Start-Date: 2014-10-25 17:17:36 Commandline: /usr/sbin/synaptic Purge: libmail-sendmail-perl:amd64 (0.79.16-1) rafal@rafal-desktop:~$I got thiszcat auth.log.2.gz | grep "sudo" | grep install
Code:rafal@rafal-desktop:~$ zcat auth.log.4.gz | grep "sudo" | grep install gzip: auth.log.4.gz: No such file or directory rafal@rafal-desktop:~$ zcat auth.log.2.gz | grep "sudo" | grep install gzip: auth.log.2.gz: No such file or directory rafal@rafal-desktop:~$ cd /var/log rafal@rafal-desktop:/var/log$ zcat auth.log.2.gz | grep "sudo" | grep install rafal@rafal-desktop:/var/log$ ls alternatives.log auth.log.1 cups dmesg.2.gz fsck lastlog messages samba syslog.6.gz unattended-upgrades Xorg.0.log.old alternatives.log.1 auth.log.2.gz daemon.log dmesg.3.gz gpu-manager.log lightdm news syslog syslog.7.gz upstart apport.log boot.log debug dmesg.4.gz gufw.log lpr.log nvidia-prime-upstart.log syslog.1 trim.log user.log apport.log.1 bootstrap.log dist-upgrade dpkg.log installer mail.err pm-powersave.log syslog.2.gz udev uucp.log apt btmp dmesg dpkg.log.1 kern.log mail.info pm-powersave.log.1 syslog.3.gz ufw.log wtmp aptitude btmp.1 dmesg.0 faillog kern.log.1 mail.log prime-offload.log syslog.4.gz ufw.log.1 wtmp.1 auth.log ConsoleKit dmesg.1.gz fontconfig.log kern.log.2.gz mail.warn prime-supported.log syslog.5.gz ufw.log.2.gz Xorg.0.log rafal@rafal-desktop:/var/log$ zcat auth.log.1.gz | grep "sudo" | grep install gzip: auth.log.1.gz: No such file or directory
Last edited by raffytaffy; Oct 25, 2014, 01:01 PM.
- Top
- Bottom
Comment
-
I really thank you for your time because I know I am a pain in the herring. I uninstalled MDADM long time ago, just did not uninstall it's dependency. I do have 2 questions.
1. Is there a program that tests if all cores work ir: multithreading, as most programs I run only use 1 core and switch between other cores (I use a AMD FX8350), or perhaps a program that is multithreaded just to see if all cores do indeed work.
2. Why does it say 2 users in my gkrellm Procs section, sometimes when I log in, it will say 1 user and I am unable to manipulate anything (as in click any program in the taskbar etc etc) untill user #2 logs on.
Here is the output of w ( two terminals open ) otherwise it always says 3 users with 1 terminal open
By the way, I never setup a raid5, I just wanted to learn a little about it, but as you can see, I have a FAR way to go. But I am willing to learn.Code:w 21:26:21 up 15 min, 4 users, load average: 0,37, 0,27, 0,24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT rafal :0 :0 21:11 ?xdm? 1:45 0.22s init --user rafal pts/7 :0 21:11 14:26 0.00s 1.47s kdeinit4: kded4 [kdeinit] rafal pts/9 :0 21:12 14:18 0.03s 0.03s /bin/bash rafal pts/0 :0 21:26 3.00s 0.02s 0.00s w
It is also strange how many procs I have going when I do not have that many programs installed.Last edited by raffytaffy; Oct 25, 2014, 01:32 PM.
- Top
- Bottom
Comment
-
and just one more time on that netstat ,,,,, IF you use sudo and the -p switch (along with whatever other switches you like)you will get the program name of what is doing the connection as well , complete with PID so you could use "kill" to terminate it!!
like @hear dolphin doing a sftp connection to one of my other boxes on the local LAN ............................................
the Foreign address is a local one @hear but I could do this from any where in the world and then it would be a truly Foreign address.Code:vinny@vinny-Bonobo-Extreme:~$ sudo netstat -tunap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 1935/dnsmasq tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2744/cupsd tcp 0 0 192.168.2.6:45563 54.230.206.199:80 ESTABLISHED 27918/firefox [COLOR=#ff0000]tcp 0 0 192.168.2.6:52047 192.168.2.4:22 ESTABLISHED 3450/dolphinxe3386.[/COLOR] tcp 0 0 192.168.2.6:52048 192.168.2.4:22 TIME_WAIT - tcp 0 0 192.168.2.6:56254 74.125.196.95:443 ESTABLISHED 27918/firefox tcp6 0 0 ::1:631 :::* LISTEN 2744/cupsd tcp6 1 0 ::1:55420 ::1:631 CLOSE_WAIT 1093/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 861/avahi-daemon: r udp 0 0 0.0.0.0:55816 0.0.0.0:* 861/avahi-daemon: r udp 0 0 127.0.1.1:53 0.0.0.0:* 1935/dnsmasq udp 0 0 0.0.0.0:68 0.0.0.0:* 27369/dhclient udp 0 0 0.0.0.0:631 0.0.0.0:* 1093/cups-browsed udp 0 0 0.0.0.0:42764 0.0.0.0:* 27369/dhclient udp6 0 0 :::37965 :::* 861/avahi-daemon: r udp6 0 0 :::5353 :::* 861/avahi-daemon: r udp6 0 0 :::63250 :::* 27369/dhclient
VINNYi7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
- Top
- Bottom
Comment
-
That's OK, we're all here to learn.Originally posted by johndoe View PostI really thank you for your time because I know I am a pain in the herring.
I don't know of one. Easiest way is probably to use the KSysGuard, the system monitor, to look at your CPU history and see what happens when you run your program.1. Is there a program that tests if all cores work ir: multithreading, as most programs I run only use 1 core and switch between other cores (I use a AMD FX8350), or perhaps a program that is multithreaded just to see if all cores do indeed work.
Probably root and your username? Sometimes software you install e.g. Apache (not saying you have installed this, but just use it as an example) will add a new username (e.g. www-data) for the process to run as so that it isn't running as root. Most of the core system services run as root, and all the programs you start when you log in run as your username, unless you start them with sudo.2. Why does it say 2 users in my gkrellm Procs section
If you want to check which usernames have processes running, use this command:
or try KSysGuard if you prefer a graphical method.Code:top
That's not saying there are four users, it's saying there is one user with four processes running. Init is the initialisation daemon used to manage processes. From the manual man init:Here is the output of w ( two terminals open ) otherwise it always says 3 users with 1 terminal open
Code:w 21:26:21 up 15 min, 4 users, load average: 0,37, 0,27, 0,24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT rafal :0 :0 21:11 ?xdm? 1:45 0.22s init --user rafal pts/7 :0 21:11 14:26 0.00s 1.47s kdeinit4: kded4 [kdeinit] rafal pts/9 :0 21:12 14:18 0.03s 0.03s /bin/bash rafal pts/0 :0 21:26 3.00s 0.02s 0.00s w
kdeinit4 is a graphical version of that. Also from the manual man kdeinit4:systemd is a system and service manager for Linux operating systems. When run as
first process on boot (as PID 1), it acts as init system that brings up and
maintains userspace services.
/bin/bash is your terminal session and w is the command producing that output.kdeinit4 is a process launcher somewhat similar to the famous init used for booting
UNIX. It executes KDE programs and kdeinit loadable modules (KLMs) starting them
more efficiently.
I totally understand this. You should see some of my posts from a year ago (only been a linux user for ~2years)... it's a steep learning curve, but you'll get there in the end. Definitely worth the effort!By the way, I never setup a raid5, I just wanted to learn a little about it, but as you can see, I have a FAR way to go. But I am willing to learn.
Most of them are probably background processes. There's a huge amount of stuff going on behind the scenes to present you with a nice "empty" desktop.It is also strange how many procs I have going when I do not have that many programs installed.
- Top
- Bottom
Comment
-
Neat trick vinny!
Pretty colours too, I didn't know you could do that!Originally posted by vinnywright View PostCode:[COLOR=#ff0000]tcp 0 0 192.168.2.6:52047 192.168.2.4:22 ESTABLISHED 3450/dolphinxe3386.[/COLOR]
- Top
- Bottom
Comment
-
On a Windows system, just press Ctrl+Alt+Del and opt to run the Task Manager. You can see all the processes that are running. It takes a lot of processes to start and setup everthing needed to proved the 'Desktop' that the user sees.Originally posted by Feathers McGraw View PostMost of them are probably background processes. There's a huge amount of stuff going on behind the scenes to present you with a nice "empty" desktop.Windows no longer obstruct my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
the color was added as part of the post to show the line that contained the referenced (dolphin) materialOriginally posted by Feathers McGraw View PostNeat trick vinny!
Pretty colours too, I didn't know you could do that!
however if you like prity colors ,,,, install "lolcat" and pipe your output through it like this...... (old screenshot of the HP)

however this dose not work just right on things like "top" that keep the output in the console so as to run constantly .
VINNYi7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
- Top
- Bottom
Comment
-
He just hightlighted the line and applied colored text to it in his pasted entry. Nothing fancy.Windows no longer obstruct my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Doesn't take much to impress me!Originally posted by Snowhog View PostNothing fancy.
I think I've seen Vinny use this before, I just always seem to forget about it and be equally impressed each time.
- Top
- Bottom
Comment
-
Well, I'd assume anyone wearing a rubber glove on their head would be easily impressed by most things.
Windows no longer obstruct my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Oi! That's a very sophisticated disguise, I'll have you know!Originally posted by Snowhog View PostWell, I'd assume anyone wearing a rubber glove on their head would be easily impressed by most things.
- Top
- Bottom
Comment
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.






Comment