ps returns truncated command line in dune/ArtSupport/DuneToolManager.cxx
In n dune/ArtSupport/DuneToolManager.cxx,
sscom << "ps -fp " << pid << " >" << sftmp;
is used to determine the command line and arguments. Problem is, the ps command truncates its output based on the value of the COLUMNS environment variable, leaving a partial string of arguments. This is becoming more common with /cvmfs pathnames.
#4 Updated by Thomas Junk 11 months ago
If I run Jason's example (see the slack thread under larsoft), and put a breakpoint in DuneToolManager.cxx after the temporary file is created with the output of ps, I see output truncated at 80 characters.
<dunegpvm08.fnal.gov> cat /dune/data/users/trj/dumptest/tmpproc29642.tmp
UID PID PPID C STIME TTY TIME CMD
trj 29642 29640 3 11:22 ? 00:00:05 /cvmfs/larsoft.opensciencegrid.o