Not getting full process name in psinfo_t struct\'s field pr_fname while reading process info from psinfo data file(/proc/%d/psinfo) into struct psinfo_t from procfs.h in solari
Solaris 11.3 SRU 5 introduced /proc//execname which contains the full command name, so you can check to see if that file exists and use it if so, else fall back to the limited pr_fname.
See Solaris 11.3 SRU 5.6: updates in ps(1) and /proc//{cmdline,environ,execname} for details.