Package Details: pacman-ps 0.1.3-2

Git Clone URL: https://aur.archlinux.org/pacman-ps.git (read-only, click to copy)
Package Base: pacman-ps
Description: Provides a command to identify which running processes have files that have changed on disk. It also provides a pacman hook and pacman-ps to also show which packages own the files that are still open.
Upstream URL: https://gitlab.com/samcv/ps-lsof
Licenses: GPLv2
Submitter: samcv
Maintainer: samcv
Last Packager: samcv
Votes: 3
Popularity: 0.000000
First Submitted: 2016-08-26 10:46 (UTC)
Last Updated: 2016-12-04 03:26 (UTC)

Latest Comments

<deleted-account> commented on 2017-05-16 03:04 (UTC)

Why not place pacman-ps-post.hook inside /usr/share/libalpm/hooks so that it can be executed by default? Hooks in /etc/pacman.d/hooks/ aren't run by default.

renyuneyun commented on 2017-02-04 18:54 (UTC) (edited on 2017-02-04 18:55 (UTC) by renyuneyun)

Maybe you forgot to ```makepkg --printsrcinfo > .SRCINFO```? I believe this is the reason why the version on AUR is still the old one. By the way, why not let makepkg download all the source files instead of place them all inside this git repository? For other AUR packages I saw, they all behave this way.

glitsj16 commented on 2017-01-22 20:42 (UTC)

@samcv My apologies for not responding earlier. Had another look at pacman-ps and your code changes are working great. I dropped my hackish workaround and use pacman-ps as-is with great pleasure. For me it's not a big deal to use sudo at all (prefer it that way actually). Much appreciated! Side-note: something looks odd at the AUR page for pacman-ps. It still mentions 0.1.3-2 on top, yet the 'Package Actions' all refer to the updated 0.2.0-1 version. Which is probably why I missed your changes untill now. Thanks again for your efforts, regards.

samcv commented on 2016-12-04 03:29 (UTC)

@glitsj16 Now the post-install hook finishes almost instantly. It will only process the database on running `pacman-ps`. Hope this helps!

samcv commented on 2016-11-19 04:30 (UTC)

@glitsj16 I was thinking about making it only process the database file only when you run `pacman-ps`. This would have the downside of forcing you to use sudo to run `pacman-ps` to process the database, but would make the transaction hook practically instantaneous. Glad you liked my package. Would this feature be appreciated?

glitsj16 commented on 2016-11-19 03:26 (UTC)

Hi, very nice functionality offered by this tool. On a few machines it takes slightly longer for pacman's post-transaction run to finish when pacman-ps is installed. I implemented a workaround, which works just fine, but it relies on overruling the default this package offers in /etc/pacman.d/hooks/pacman-ps-post.hook. Would you consider installing your hook in /usr/share/libalpm/hooks? That way local edits don't get overwritten on upgrading.. For now I have NoExtract = etc/pacman.d/pacman-ps-post.hook to keep it from doing that, but that's messy. In any case, thanks for the package, upvoting :)

samcv commented on 2016-08-26 10:52 (UTC)

ps-lsof It relies of the ps command to get a list of the PID(proccess ID's) of all currently running programs. It then uses lsof to get a list of all files open by that process by their PID. The end result of this is filtered out to remove unneeded information. pacman-ps To use this you can run: pacman-ps. It will query the database created by the hook or if it does not exist,it will query pacman using pacman -Ql. More details on my project page: https://gitlab.com/samcv/ps-lsof