Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 892049 Details for
Bug 1090664
VDSM is consuming a lot of cpu time even with no active VMs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Script to generate profiling reports
stats (text/plain), 837 bytes, created by
Nir Soffer
on 2014-05-02 22:23:17 UTC
(
hide
)
Description:
Script to generate profiling reports
Filename:
MIME Type:
Creator:
Nir Soffer
Created:
2014-05-02 22:23:17 UTC
Size:
837 bytes
patch
obsolete
>#!/usr/bin/env python > >import optparse >import pstats >import sys > >op = optparse.OptionParser(usage='%prog [options] file') >op.add_option('-s', '--sort', dest='sort', > help='sort stats by given criteria (multiple values separated by ' > 'comma allowed).') >op.add_option('-r', '--restrict', dest='restrict', type='int', > help='restrict number of items reported.') >op.add_option('-c', '--compact', dest='compact', action='store_true', > help='Use compact output') >op.set_defaults(sort='time', restrict=20, compact=False) > >options, args = op.parse_args() > >if len(args) == 0: > op.error('file is required') > >s = pstats.Stats(args[0]) > >if options.compact: > s.strip_dirs() > >if options.sort: > criteria = options.sort.split(',') > s.sort_stats(*criteria) > >s.print_stats(options.restrict) >s.print_callers(options.restrict)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1090664
:
891081
|
891082
|
892044
|
892045
|
892046
| 892049