안녕하세요.
부팅후 지난 시간을 알고 싶습니다.
수십 ms, 단위의 값이 필요하기 때문에
sysinfo 함수는 적합하지 않더군요.
현재는 fopen("/proc/uptime"...) 를 이용하고 있습니다만.
/proc/uptime 관련해서 fopen, fclose가 빈번하게 일어나는 것도 그리 마음에 안들어서요.
시스템의 날짜, 시간은 바뀔수 있기때문에 gettimeofday() 함수를 이용하기도 어렵습니다.
find -name ***.**.**(** 파일이름) 을 실행시켰더니 중간에 에러가 발생하고 멈춰 버리는군요..
어떤 에러인지 난감해서 올립니다..
############ ERROR MESSAGE
find: WARNING: Hard link count is wrong for ./selinux: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.