GithubHelp home page GithubHelp logo

vksvicky / alfred2-top-workflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhaocai/alfred2-top-workflow

0.0 2.0 0.0 2.58 MB

Alfred 2 Top Processes Based Memory or CPU Usage Workflow

Home Page: http://zhaocai.github.com/alfred2-top-workflow/

alfred2-top-workflow's Introduction

Alfred 2 Top Process Workflow

Alfred 2 Workflow to List/Kill Top Processes by Memory/Cpu Usage. The initial motive is to avoid frequent visits to the Activity Monitor when the fan goes loud.

workflow

Usage

A. Keywords:

  1. top: Show a mixed processes list based on top cpu/memory usage.
  • top /m, top /mem, top /memory to show processes ranked by memory usage
  • top /c, top /cpu, to show processes ranked by cpu usage
  1. kill: Filter process to kill.
  2. lsof: List files opened by process id

B. Modifier Key

Keywords: top

  1. none: The default action is to list files opened by process ID
  2. ^ key to kill
  3. โŒ˜ key to force kill (kill -9)
  4. alt : nice cpu priority

Keywords: kill

  1. none: The default action is to kill by process ID
  2. โŒ˜ key to force kill (kill -9)

Keywords: lsof

  1. none: The default action is to reveal file in Finder

C. Query

  1. To search for process state, use :idle, :sleep, :stopped, :zombie, :uninterruptible, :runnable, etc.

Screenshots

1. Mixed Processes List:

mixed top processes

2. Filtered By Query:

filtered by query

Installation

Two ways are provided:

  1. You can download the Top Processes.alfredworkflow and import to Alfred 2. This method is suitable for regular users.

  2. You can git clone or fork this repository and use rake install and rake uninstall to install. Check rake -T for available tasks. This method create a symlink to the alfred workflow directory: "~/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows". This method is suitable for developers.

Copyright

Copyright (c) 2013 Zhao Cai [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

alfred2-top-workflow's People

Contributors

zhaocai avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.