I’m writing a script that needs to find an exact match in a file that is compatible with QNX and POSIX compliant Linux more detail: Im trying to find the user of a process so the original command I wrote was which works perfectly in POSIX compliant Linux however, QNX isn’t totally POSIX compliant and grep -w isn’t usable for
Tag: qnx
How to make top run in background ? It needs to run and log the output. Not die or zombie up
I am trying to make a script to log the top output to a file in the background for my embedded system. But as soon as I put it in background, it either exits or zombies up. What is the systems problem with running things in background ? My script I am trying to execute it as and as How
embedded linux/QNX – how to completely zero out flash
I have a bug related to persistent files. To determine the exact sequence of steps to reproduce the bug, I need to start out the flash disk at a known state. QUESTION Using linux/QNX commands, how do I completely zero out the entire flash disk while being Telnet’d into the system? Answer On QNX, you can try the flashctl tool
Retrieving the memory map of its own process in QNX
In Linux if we look at the /proc/self/maps: I want information like pathname and starting address for Qnx. How can I get that information? My analysis says that there is not /proc/self/maps file in Qnx. Answer We have self file in QNX too !! The address space is represented by a binary file called “as” in every folder in /proc.