sponsor Vim development Vim logo Vim Book Ad

ntprocesses : Kill NT processes from Vim

 script karma  Rating 6/3, Downloaded by 2843  Comments, bugs, improvements  Vim wiki

created by
Hari Krishna Dara
 
script type
utility
 
description
PLEASE READ THE INSTALL SECTION COMPLETELY.

- This plugin generates a list of NT processes that are running on the
  local NT/W2K/XP machine. You can kill any by processing K on the
  corresponding entry.
- You can open the processlist window through WinManager (as described in
  the installation section below) or by assigning a hot key. You can use
  the same hot key to open/close the window. Alternatively, you can also
  use the :NTProcesses command to open/close the processes window.
- You can choose which fields that you want to see by using the
  NtpFields command. You can select the sort fields by pressing s
  consecutively and r for reversing the sort direction.
- If you have permissions, you can view the process list in a remote m/c
  by using the NtpSetHost command. With no arguments, it prints the
  current remote host name. To switch back to the local m/c, use "." for
  the host name.
- For the sake of speed, the list of processes is cached. To see the
  latest set of processes and their states at any time, refresh the window
  by pressing 'R'.
- It requires multvals and genutils plugins to be always installed, but
  others are required only depending on your usage/setting (for a better
  experience and formatting).


Search_key_words: ntprocesses ntprocess NT processes process kill multvals genutils align Hari Krishna Dara
 
install details
- Place the plugin in a plugin diretory under runtimepath and configure
  WinManager according to your taste. E.g:
                                                                          
    let g:winManagerWindowLayout = 'FileExplorer,NTProcesses'
                                                                          
  You can then switch between FileExplorer and NTProcesses by pressing ^N
  and ^P.
- If you don't want to use WinManager, you can still use the :NTProcesses
  comamnd or assign a hotkey by placing the following in your vimrc:
                                                                          
    nmap <silent> <F6> <Plug>NTProcesses
                                                                          
  You can substitute any key or sequnce of keys for <F6> in the above map.
- Requires multvals.vim to be installed. Download from:
    http://www.vim.org/script.php?script_id=171
- Requires genutils.vim to be installed. Download from:
    http://www.vim.org/script.php?script_id=197
- If Align.vim is installed, it is used to format the output.
- Requires cscript.exe to be in the path.
- Use g:ntprocFields, g:ntprocSortFieldIndex, g:ntprocSortDirection to
  specify field names, default sort field and the sort direction
  respectively. Use NtpFields command to see the list of field names
  possible.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ntprocesses.vim 1.4 2004-07-23 6.0 Hari Krishna Dara Maintenance release. Fixed broken NTSsetHost and NtpKill commands.
ntprocesses.vim 1.3 2004-01-27 6.0 Hari Krishna Dara Minor updates:
- Fixed the bug in connecting to a remote host, basically it wasn't working.
- NtpSetHost is now global, so you don't have to open the window before
  switching to a remote host.
- Check and not load if it is not windows (David Fishburn).
ntprocesses.vim 1.2 2003-12-17 6.0 Hari Krishna Dara - Renamed NTpFields command to NtpFields.
- Now genutils.vim plugin is required. Download it from http://www.vim.org/script.php?script_id=197
- Fixed a bug with buffer name on solaris.
- New feature to connect to a remote host.
- q to quit window.
- Version dependency check on multvals and genutils plugin. You now get an error message during the Vim startup, if you don't have minimum required versions of these two dependent plugins.
ntprocesses.vim 1.1 2003-02-14 6.0 Hari Krishna Dara Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github