[COLOR=#990099][FONT=monospace]@@ [URL="https://git.proxmox.com/?p=pve-common.git;a=blob;f=data/PVE/Tools.pm;h=735cbdeda65eaac934437315d7ac6553c8b32354;hb=735cbdeda65eaac934437315d7ac6553c8b32354#l777"]-777,7[/URL] [URL="https://git.proxmox.com/?p=pve-common.git;a=blob;f=data/PVE/Tools.pm;h=922c0e6685d6773ff9210428bde34b4931069b83;hb=922c0e6685d6773ff9210428bde34b4931069b83#l779"]+779,8[/URL] @@[COLOR=#AA22AA] sub upid_decode {[/COLOR][/FONT][/COLOR]
[COLOR=#000000][FONT=monospace] my $filename;[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace] # "UPID:$node:$pid:$pstart:$startime:$dtype:$id:$user"[/FONT][/COLOR]
[COLOR=#CC0000][FONT=monospace]- if ($upid =~ m/^UPID:([a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([^:\s]+):([^:\s]*):([^:\s]+):$/) {[/FONT][/COLOR]
[COLOR=#008800][FONT=monospace]+ # Note: allow up to 9 characters for pstart (work until 20 years uptime)[/FONT][/COLOR]
[COLOR=#008800][FONT=monospace]+ if ($upid =~ m/^UPID:([a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8,9}):([0-9A-Fa-f]{8}):([^:\s]+):([^:\s]*):([^:\s]+):$/) {
[/FONT][/COLOR]