INCREASE THE ABBREVIATED OR COLLAPSED STRING LENGTH OF STRACE OUTPUT
I was using strace to troubleshoot an error but the strings are not printed full in the output
[root@exdbxadm02 oracle]#strace mycommand
write(6, "Cell: o/123 could not ..., 59) = 59
close(6) = 0
gettimeofday({1645098549, 250207}, NULL) = 0
gettimeofday({1645098549, 250259}, NULL) = 0
open("/dev/raw", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory)
close(5) = 0
close(4) = 0
brk(0x38bc000) = 0x38bc000
gettimeofday({1645098549, 250560}, NULL) = 0
munmap(0x7fe0423f0000, 143360) = 0
exit_group(0) = ?
To expand the strings, use strace with -s option with a string length greater than default which is 32
[root@exdbxadm02 oracle]#strace -s 900 mycommand
write(6, "Cell: o/123 could not be opened during discovery\n", 59) = 59
close(6) = 0
gettimeofday({1645098549, 250207}, NULL) = 0
gettimeofday({1645098549, 250259}, NULL) = 0
open("/dev/raw", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory)
close(5) = 0
close(4) = 0
brk(0x38bc000) = 0x38bc000
gettimeofday({1645098549, 250560}, NULL) = 0
munmap(0x7fe0423f0000, 143360) = 0
exit_group(0) = ?