Help language development. Donate to The Perl Foundation

Sys::Utmp cpan:JSTOWE last updated on 2021-01-18

bin/raku-who
#!/usr/bin/env raku

use v6;

use Sys::Utmp;

my $u = Sys::Utmp.new;

for $u.list.grep(UserProcess) -> $ent {
      say $ent;
}