Happy Thanksgiving!

MurderMostFowl1024

Happy Thanksgiving!

Posted on 11/26/2009 2:17:31 PM by jeffa

Permalink | Comments (4) | Post RSSRSS comment feed |

Categories:

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Lunchtime Tip: Powershell Process List

Powershell is worth a look if you haven’t used it before.

It is Microsoft’s new command line that operates in an object-oriented way.

There are still Unix commands that I think work better (like Tail, but we won’t go there yet).

Today’s tip is about getting a list of processes that are running.

For folks who have used Unix, this is similar to the PS command. For purely Windows folks, this is like the process list in Task Manager.

This is a quick-tip, so I won’t belabor the point:

Get-Process

That’s it. You will get a listing of processes that are running and info about how much CPU and memory they are consuming.

Want to see see just instances of Internet Explorer? Get-Process iexplore

Want to see Internet Explorer and Outlook? Get-Process iexplore, OUTLOOK

For more info, plus lots of other info about Powershell go to http://technet.microsoft.com/en-us/library/ee176855.aspx.

If you want to get the top 5 CPU using processes try this:

Get-Process | Sort-Object cpu -descending | Select-Object -first 5

As you can see you are piping the results of Get-Process through Sort-Object and then Select-Object. 

Here’s a fun one to try from that page:

Get-Process | Select-Object name,fileversion,productversion,company

I won’t tell you what it does; go try it!

Posted on 11/23/2009 2:01:00 PM by jeffa

Permalink | Comments (11) | Post RSSRSS comment feed |

Categories: Lunch Time Tip

Tags: , ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

jeffaBlogger Update: MVC 2 Upgrade

MVC 2 Beta was released today (read about it here) and I've decided to upgrade my blog engine work-in-progress to the new bits.

Cross your fingers!

Now that the Go-Live license is available I don't have to worry that I'll be ready to publish before it is allowed.

Posted on 11/19/2009 1:36:00 AM by jeffa

Permalink | Comments (2) | Post RSSRSS comment feed |

Categories: .Net | jeffaBlogger

Tags: ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Lunchtime Tip: Win 7 Task Manager

Another quickie tip post.

Task Manager has been around a LOOOOONG time, and everyone know it and loves it, right? Well now it has some new abilities. OK, some of these may have slipped into Vista, but everyone hates Vista and loves 7, right?

First Tip: Shortcut Keys

Now this might break your hand, BUT if you can manage a CTRL + SHIFT + ESC, you can pop Task Manager right up.

Second Tip: Threads ‘n More

Hit the View menu item and then “Select Columns”

You can add the following to your Task Manager Processes display:

  • PID (Process Identifier)
  • User Name
  • Session ID
  • CPU Usage
  • CPU Time
  • Memory – Working Set
  • Memory – Peak Working Set
  • Memory – Working Set Delta
  • Memory – Private Working Set
  • Memory – Commit Size
  • Memory – Paged Pool
  • Memory – Non-paged pool
  • Page Faults
  • Page Fault Delta
  • Base Priority
  • Handles
  • Threads
  • USER Objects
  • GDI Objects
  • I/O Reads
  • I/O Writes
  • I/O Other
  • I/O Read Bytes
  • I/O Write Bytes
  • I/O Other Bytes
  • Image Path Name
  • Command Line
  • User Account Control (UAC) Virtualization
  • Description
  • Data Execution Prevention

Yowza! That’s a lot of info right at your fingertips.

Lunchtime is over, so that’s if for today!

Posted on 11/18/2009 1:58:14 PM by jeffa

Permalink | Comments (6) | Post RSSRSS comment feed |

Categories:

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Augusta Codecamp

I had a really good time at the Augusta, GA, Codecamp.

Big thanks to the organizers, especially Pete Mourfield and Dr. Todd Schultz. Good job guys!

Also thanks to everyone who came to my talk “ASP.net MVC In A Web Hosted World.” Click here for my slide deck. I hope you guys enjoyed it as much I did!

I’ll be blogging in more depth about the topics covered.

I also want to thank everyone from GGMUG who came down to Augusta for Codecamp. Glad you guys made it down!

Posted on 11/7/2009 9:26:46 PM by jeffa

Permalink | Comments (1) | Post RSSRSS comment feed |

Categories:

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Visual Studio Tip: Add Existing Directory

How many times have you wanted to add a directory that already exists to your project only to have to create the directory (and any subdirectories) and then Add Existing Files (one directory at a time)?

Annoying isn’t it? (Almost as annoying as someone who uses too many parentheses.)

Why, oh why, isn’t there an Add Existing Directory function?

Because it isn’t needed.

What? You’re crazy!

If you copy the directory and all its subdirectories into the project (into the directory you want them) with File Explorer (or xcopy from the command line), then go into VS and click the little Show All Files icon at the top of the Solution Explorer pane (second icon from the right for me), voila! There are the directories that you want to add.

Now just highlight the grey little directory and right click. Next pick the menu item that says “Include In Project”.

Bam! You just kicked it up a notch! (Man that’s a tired catch-phrase, isn’t it?)

Does that ever save some time.

Today I needed to include Tiny MCE in my scripts folder in jeffaBlogger (MVC blog engine I’m working on). It finally was annoying enough to go Google up a solution.

Thanks to NitriqBlog for that little life-saver.

Posted on 11/2/2009 12:36:00 AM by jeffa

Permalink | Comments (4) | Post RSSRSS comment feed |

Categories: .Net

Tags: , ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5