Skip to content

Commit

Permalink
Marioh/updateinstall (#149)
Browse files Browse the repository at this point in the history
* 1.3 release - update install instructions

* 1.3 release - fix readme gif

* update copyright

* Add BREAKING CHANGE notice in README
  • Loading branch information
MarioHewardt authored Oct 13, 2022
1 parent d048a56 commit ee60dc5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 32 deletions.
38 changes: 10 additions & 28 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Install ProcDump

## Ubuntu 18.04, 20.04 & 21.04
## Ubuntu 16.04, 18.04, 20.04 & 22.04
#### 1. Register Microsoft key and feed
```sh
wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
Expand All @@ -13,25 +13,6 @@ sudo apt-get update
sudo apt-get install procdump
```

## Debian 9
#### 1. Register Microsoft key and feed
```sh
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/debian/9/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
```

#### 2. Install Procdump
```sh
sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install procdump
```

## Debian 10
#### 1. Register Microsoft key and feed
```sh
Expand Down Expand Up @@ -70,23 +51,23 @@ sudo apt-get update
sudo apt-get install procdump
```

## Fedora 33
## Fedora 35
#### 1. Register Microsoft key and feed
```sh
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/33/prod.repo
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/35/prod.repo
```

#### 2. Install Procdump
```sh
sudo dnf install procdump
```

## Fedora 34
## Fedora 36
#### 1. Register Microsoft key and feed
```sh
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/34/prod.repo
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/36/prod.repo
```

#### 2. Install Procdump
Expand Down Expand Up @@ -118,21 +99,22 @@ sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.
sudo yum install procdump
```

## CentOS 7
## RHEL 9
#### 1. Register Microsoft key and feed
```sh
sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/rhel/9/prod.repo
```

#### 2. Install Procdump
```sh
sudo yum install procdump
```

## CentOS 8
## CentOS 7
#### 1. Register Microsoft key and feed
```sh
sudo rpm -Uvh https://packages.microsoft.com/config/centos/8/packages-microsoft-prod.rpm
sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
```

#### 2. Install Procdump
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ProcDump is a Linux reimagining of the classic ProcDump tool from the Sysinterna

![ProcDump in use](procdump.gif "Procdump in use")

# Installation & Usage
# Installation & Usage

## Requirements
* Minimum OS:
Expand All @@ -17,14 +17,14 @@ ProcDump is a Linux reimagining of the classic ProcDump tool from the Sysinterna
Checkout our [install instructions](INSTALL.md) for distribution specific steps to install Procdump.

## Build ProcDump from Scratch
To build from scratch you'll need to have a C compiler (supporting C11), `zlib`, and a `make` utility installed. Then simply run:
To build from scratch you'll need to have a C compiler (supporting C11), `zlib`, and a `make` utility installed. Then simply run:

```
make
make install
```

### Building Procdump Packages
### Building Procdump Packages
The distribution packages for Procdump for Linux are constructed utilizing `debbuild` for Debian targets and `rpmbuild` for Fedora targets.

To build a `deb` package of Procdump on Ubuntu simply run:
Expand All @@ -38,6 +38,7 @@ make && make rpm
```

## Usage
**BREAKING CHANGE** With the release of ProcDump 1.3 the switches are now aligned with the Windows ProcDump version.
```
procdump [-n Count]
[-s Seconds]
Expand Down
Binary file modified procdump.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/ProcDumpConfiguration.c
Original file line number Diff line number Diff line change
Expand Up @@ -1717,7 +1717,7 @@ int GetMaximumPID()
void PrintBanner()
{
printf("\nProcDump v1.3 - Sysinternals process dump utility\n");
printf("Copyright (C) 2020 Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n");
printf("Copyright (C) 2022 Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n");
printf("Mark Russinovich, Mario Hewardt, John Salem, Javid Habibi\n");
printf("Sysinternals - www.sysinternals.com\n\n");

Expand Down

0 comments on commit ee60dc5

Please sign in to comment.