Now that all the arduinoeverything.com posts are here I have to sort out the images. They’re still pointing to the other domain. They work but need to be updated.
Also on tap is performance. Holy hell I had no idea things had gotten so slow.
I’ve started combining the content from my arduinoeverything.com site into this one. It seems to be duplicating all the content. This should be fixed in a few days so hang tight. I haven’t lots my mind yet…
Windows Server 2008 and Windows 7 introduced a neat feature in the Task Manager that allows you to see the command line that instantiated the process. This is great for telling processes apart. Especially when svchost and others can have dozens of instances.
Just click View -> Select Columns and pick Command Line at the bottom.
But what if you have Windows Server 2003 or Server 2000? I found a few tricks. They’re not as clean but they work just as well.
This one just lists the processes, their PID and the “services” that are associated with them
This one makes a nice text file with much more info
wmic process get Name,ProcessId,CommandLine /format:table > wmic_task_list.txt
The text file lists the name, process id, command line and puts it in a table in a text file. Genius!
If you want to get really geeky you can see all the wmic options using this command. It can do some really nice output.
wmic process list /format /?
Hope this helps someone! I use it on a regular basis to find out why svchost is going bat shit crazy on my servers. We all know it likes to hit full cpu usage from time to time and these commands will help you find out which process is causing it.
Most often I’ve found that it has to do with Windows Updates but you never know.
Use this command to see the cpu info::
Use this command to see the memory info:
This gives a lot of hardware related info:
Use this command to get PCI bus info:
I tested this on centOS. You can get the OS from this command:
It’s been a while since I’ve posted so here’s a useless post just to let you know I’m still alive.
Hopefully I’ll get time to post some new net admin scripts and updates on other things.
I’ve moved employers and am buried with work. Thankfully I love what I do so being busy is not a bad thing.
At some point I will be folding in all of my Arduino projects into this site so that I only have one site to maintain.
Happy (a little late) new year!
My day job got acquired in January 2013. things have been crazy, plus I started a home based business (www.jnmvinylstudio.com) that is also taking lots of time.
That said though, I have a few projects I hope to get written up soon and posted!
Keep the emails and feedback coming! I appreciate them!
Wow. How embarrassing. Stand Your ground laws should only apply to your home. Glad I moved to NY.
Looking for a good magazine about the Raspberry Pi? I recommend The MagPi. I have no affiliation. They’re just a good source of articles that you can download and read in PDF format.
Great for all the time I spend commuting to/from work.
Filed under: General News, Learning Articles, Networking, Raspberry Pi
Raspberry Pi Setup Notes
These are the notes I keep for initial setups of the base Raspberry Pi Linux images. They were collected from all over the internet and from personal experiences. If you find errors let me know. I’m always updating it so check back if you’re looking to add a feature that you can’t find
Everything here relies on what exists on the internet already. Nothing here is original except that it’s all in one place.
Further LAMP features
To install Webmin open a terminal and add the following repository:
1- Edit /etc/apt/sources.list file
2- Add the following lines
Save and exit the file
3- Now you need to import GPG key
4- Update the source list
5- Now install Webmin
Now to access Webmin open your browser and enter: http://serverip:10000/
You can get your ip address by issuing this command:
Remove any unneeded packages
There will eventually be packages that are unneeded. Apt-get can get rid of them by issuing this command:
Installing this allows you to connect via RDP on Windows.
Add Chrome/Chromium to Desktop
Adds “Chrome” web browser to the GUI interface.
Check CPU Clock Speed
This will show the current CPU clock speed in hertz
This is the initial configuration utility. I always forget its name..
Finally got my hands on a Raspberry Pi….will this replace my Arduino? No….I don’t think so…not yet anyway….
I think the Raspberry Pi will be a perfect “front end” for web enabling my Arduino.
I have found that adding Ethernet to Arduino eats up a lot of precious memory. My idea is that I can develop a complete PHP front end on the Pi and use the Arduino for all the hardware interfacing.
While I realize that the Raspberry Pi can do all of the hardware interfacing, I also realize that doing so isn’t as simple (to the best of my knowledge). For example the Pi runs Linux. Coding for Linux is generally done in C or using a higher level language like PHP or Perl. Neither of those higher level languages are any good at directly reading GPIO ports. That’s not their purpose.
But they can manipulate data. THAT’S what they’re good for. Arduino and html and databases don’t mix…
So I see my Raspberry Pi taking the place of a dedicated PC for communicating to the outside world with ease.
Time for some Pi.