Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra information about a process to distinguish same-named processes #590

Closed
Cylindric opened this issue Dec 23, 2015 · 11 comments
Closed

Comments

@Cylindric
Copy link

I am trying out TopBeat to monitor MS SQL servers, and my servers have several instances of SQL running on them at once.
TopBeat correctly logs these with the process name of "sqlservr.exe" and the relevant PID.

My question is, how could I track these individually over time? The PIDs will change as the services are restarted, and even move from cluster node to cluster node, so it's very difficult to get any sort of persistent trends analysed.

Ideally, if the logged data could contain either the path to the process (which is unique and consistent across the instances) or the user the process is running as (unique for us, but not necessarily for everyone), that would solve all our problems.

@monicasarbu
Copy link
Contributor

@monicasarbu
Copy link
Contributor

Related to #533

@monicasarbu
Copy link
Contributor

I think it would be easier to export the full command line of process than the process username, so we will try to add this information first. What OS do you use?

@Cylindric
Copy link
Author

Full path would be perfect in my case. It's Windows Server 2012 in this particular instance.

You're spot on with those two linked issues though - if they apply to Windows processes too, either would solve my issue.

@biswajit86
Copy link

+1

any ideas if this is being targeted for some release?

eonarheim added a commit to eonarheim/gosigar that referenced this issue Jan 19, 2016
@eonarheim
Copy link

I've committed a potential fix for user name information on my fork of gosigar, I'm just going to confirm it works when rolled into topbeat on windows.

@KptnKMan
Copy link

+1

I have the same issue in my environments, when usign Topbeat there are a lot of same named processes, and also useful for our sqlservr.exe processes.

process command path would be critically useful here.
process userid would be very useful.

Is there any idea if/when this would be developed?

@andrewkroh
Copy link
Member

The user and the full command line have been implemented and will be released in 1.2.0. Documentation for the new fields is here.

@andrewkroh
Copy link
Member

@KptnKMan Here's the link to the Windows development build that has the feature if you want to test it.

@KptnKMan
Copy link

@andrewkroh
Thanking you kindly, I found the nightlies and I'm going to try. Just 1 question: is it advisable to use the 5.0.0 latest or 1.2.0, as I see the fix has been backported. Is there a major difference?

Thanks!

@andrewkroh
Copy link
Member

The 1.2.0 nightlies are no longer being updated (a limitation of our current build setup) and do not contain the backport. So you would have to use the 5.0.0 nightly to test this feature or build the 1.2 branch yourself. The CHANGELOG for 5.0 is here if you want to see all the changes since 1.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants