The resolvent of a square matrix $A$ is defined by $R(s) = (A-sI)^{-1}$ for $s \notin \operatorname{spect}(A)$.
Is knowing the diagonal of $R(s)$ for all $s$ sufficient to recover $A$ when $A$ is symmetric?
edit: a counter-example of two matrices $A,B$ whose resolvent have the same diagonal has been found by Robert Israel. In the counter example, $A = P B P^T$ for some permutation matrix $P$. Now the question is, it is possible to recover $A$ up to permutations of rows and columns?